diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-26 22:45:16 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-26 22:45:16 +0100 |
commit | a559125a2d7af771784614b7a2092cc7fb707345 (patch) | |
tree | 4e4f31197d28a41b5c62fdd19086295cf0acad84 /ast.h | |
parent | 2e62b41072738142dea9f0b5dd5d2d22455c7616 (diff) |
array literals
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |