hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/eval.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-19 11:52:25 +0200
committerhachem <im@hachem.wtf>2026-09-19 11:52:25 +0200
commitb20c46c555986a99be70de61d91bc225e53f31d2 (patch)
tree7c3b94ca7cd894e0597bcef65f5f19ea9f1e7ecd /eval.h
parentdd52ccd9319aa847cddc486519075b806c9e9092 (diff)
eval: sum product and quotient
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/eval.h b/eval.h
index 8b4a5f6..49101f1 100644
--- a/eval.h
+++ b/eval.h
@@ -2,6 +2,8 @@
#include "ast.h"
+#include <stdint.h>
+
enum TypeKind
{
KIND_VOID,
@@ -11,7 +13,7 @@ enum TypeKind
struct Type
{
enum TypeKind kind;
- long number;
+ int64_t number;
};
enum RunStatus