stage1 完成15测试

This commit is contained in:
zzy
2026-07-06 21:26:27 +08:00
parent 0892c084ee
commit 69cea030dc
6 changed files with 91 additions and 45 deletions

View File

@@ -161,6 +161,7 @@ static void parse_fn_decl(spl_comp_t *ctx, int is_extern, int is_pub) {
expect(ctx, TOK_R_BRACE);
}
spl_emit_defer_epilogue(ctx, ctx->scope_depth);
spl_pop_scope(ctx);
/* Emit implicit RET for void functions without explicit return */