summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/syntax.h b/src/syntax.h
index cf8ce3f..0b5396c 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -15,6 +15,7 @@ typedef enum {
typedef enum {
ARITHM_INT_LIT,
ARITHM_BINOP,
+ ARITHM_VAR,
} ArithmNodeKind;
typedef struct ArithmNode ArithmNode;
@@ -30,6 +31,7 @@ struct ArithmNode {
} binop;
} as;
};
+
DECLARE_VEC(ArithmNode, ArithmNodeVec)