Core: Add defer

This commit is contained in:
Krzosa Karol
2023-04-22 14:23:08 +02:00
parent d9a7882f8c
commit ad301153d4
8 changed files with 61 additions and 48 deletions

View File

@@ -243,6 +243,12 @@ void core__stringify(Ast *ast) {
core__stringify(n->expr);
} break;
case AST_DEFER: {
auto n = (Ast_Defer *)ast;
genln("defer");
core__stringify(n->scope);
} break;
case AST_PASS: {
genln("pass");
} break;