stage1 支持label break, continue

This commit is contained in:
zzy committed 2026-09-14 19:35:58 +08:00
1 parent 3175e04e6e
commit 983746c797
5 files changed
+207 -36

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ typedef struct {
spl_attr_t *attr;
spl_lang_type_id_t current_aggregate_lang;
spl_lang_type_id_t current_fn_ret_tid;
spl_symbol_path_t label_stack;
} spl_sema_t;
void spl_sema_init(spl_sema_t *sema, spl_ast_t *ast, spl_type_t *type, spl_scope_t *scope,