diff options
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,8 +5,9 @@ #include <stddef.h> typedef enum { - AST_NUM, + AST_NOTHING, AST_LIST, + AST_NUM, } AstTy; struct _astnode; @@ -29,6 +30,7 @@ struct _astnode { AstVec astvec_new(); void astvec_append(AstVec *v, AstNode val); +void astnode_append(AstNode *l, AstNode val); AstNode astnode_new_num(int n); AstNode astnode_new_list(); |