stage1 更多的语义及其附属基础设施

This commit is contained in:
zzy
2026-08-20 19:51:08 +08:00
parent d6113a5417
commit 0f40de43a1
7 changed files with 553 additions and 79 deletions

View File

@@ -155,7 +155,7 @@ struct spl_ast_node {
spl_ast_node_ref_vec_t attr_list; /* attr_item */
const char *name;
spl_ast_node_ref_vec_t param_list; /* param_decl */
spl_ast_node_ref_t type_expr;
spl_ast_node_ref_t type_expr; /* ret type expr */
spl_ast_node_ref_vec_t block; /* 语句/尾表达式 */
} fn_decl;
struct {