From a559125a2d7af771784614b7a2092cc7fb707345 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 26 Jun 2024 22:45:16 +0100 Subject: array literals --- ast.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ast.h') 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); -- cgit v1.2.3