aboutsummaryrefslogtreecommitdiffhomepage
path: root/ast.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-18 04:13:56 +0900
committernsfisis <nsfisis@gmail.com>2025-08-18 22:21:00 +0900
commit79796388b3c040bda25ce330af72ca514b30f60c (patch)
tree5dd4078e696d6c028e061819de5f28699c772399 /ast.c
parentdb57dd8732d4dccbf1884ad97f87a3f22a2aef9c (diff)
downloadducc-79796388b3c040bda25ce330af72ca514b30f60c.tar.gz
ducc-79796388b3c040bda25ce330af72ca514b30f60c.tar.zst
ducc-79796388b3c040bda25ce330af72ca514b30f60c.zip
feat: support variable declaration with multiple variables (local variables only)
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ast.c b/ast.c
index 6aa0e7e..66f7cc2 100644
--- a/ast.c
+++ b/ast.c
@@ -195,6 +195,9 @@ enum AstNodeKind {
AstNodeKind_union_decl,
AstNodeKind_union_def,
AstNodeKind_union_member,
+
+ // Intermediate ASTs: they are used only in parsing, not for parse result.
+ AstNodeKind_declarator,
};
typedef enum AstNodeKind AstNodeKind;