diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-09 22:26:02 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-09 22:26:02 +0200 |
commit | 598be4cd1bdd79e4859ae30291f4d65682cc672a (patch) | |
tree | 6e7e7ad537214c78049c4b3b2ee694c3b549fa4e /src/ast.c | |
parent | 6f7c2d6daa5c706d441ddc42c5c6409e5266049a (diff) | |
download | fwd-598be4cd1bdd79e4859ae30291f4d65682cc672a.tar.gz fwd-598be4cd1bdd79e4859ae30291f4d65682cc672a.zip |
initial reference checking
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); |