stage1 实现并修复ast2ir的核心功能的正确性

This commit is contained in:
zzy committed 2026-09-12 09:46:56 +08:00
1 parent 49ccdec3dd
commit 87d9b7ea34
7 files changed
+1408 -110

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ static spl_ast_node_ref_t new_node(parser_t *p, spl_ast_node_kind_t kind, const
spl_ast_node_t n = {0};
n.kind = kind;
n.resolved_def_id = 0;
n.resolved_type_id = 0;
n.resolved_lang_tid = 0;
if (tok) {
n.dbg.dbg_name = spl_ast_kind_name(kind);
n.dbg.fname = tok->fname;