summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index ead9cc6..6896c2b 100644
--- a/ast.h
+++ b/ast.h
@@ -9,6 +9,7 @@ typedef enum {
AST_NUM,
AST_IDENT,
AST_STRING,
+ AST_ARR,
} AstTy;
struct _astnode;
@@ -36,6 +37,7 @@ void astnode_append(AstNode *l, AstNode val);
AstNode astnode_new_num(int n);
AstNode astnode_new_list();
+AstNode astnode_new_arr();
AstNode astnode_new_ident(const char *s);
AstNode astnode_new_string(const char *s);