diff options
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -228,6 +228,8 @@ void ast_dump(int depth, struct ast *n) DUMP(AST_NEG); DUMP(AST_LNOT); DUMP(AST_NOT); + DUMP(AST_REF); + DUMP(AST_DEREF); DUMP(AST_CONST_INT); DUMP(AST_CONST_CHAR); DUMP(AST_CONST_BOOL); @@ -652,6 +654,8 @@ const char *ast_str(enum ast_kind k) CASE(AST_NEG); CASE(AST_LNOT); CASE(AST_NOT); + CASE(AST_REF); + CASE(AST_DEREF); CASE(AST_CONST_INT); CASE(AST_CONST_CHAR); CASE(AST_CONST_BOOL); |