aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast.c b/src/ast.c
index 3069924..08178f7 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -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);