Core: Add continue keyword
This commit is contained in:
@@ -54,6 +54,7 @@ for i in meta.token_simple_expr:
|
||||
pctx->keyword_union = pctx->intern("union"_s);
|
||||
pctx->keyword_true = pctx->intern("true"_s);
|
||||
pctx->keyword_default = pctx->intern("default"_s);
|
||||
pctx->keyword_continue = pctx->intern("continue"_s);
|
||||
pctx->keyword_break = pctx->intern("break"_s);
|
||||
pctx->keyword_false = pctx->intern("false"_s);
|
||||
pctx->keyword_return = pctx->intern("return"_s);
|
||||
@@ -310,8 +311,6 @@ resolve_everything_in_module(Ast_Module *module) {
|
||||
For2(file->decls, decl) {
|
||||
if (decl->flags & AST_POLYMORPH) continue;
|
||||
|
||||
// @cleanup: Why I'm not calling resolve_decl here?
|
||||
// resolve_name(file, decl->pos, decl->name);
|
||||
resolve_decl(decl);
|
||||
if (decl->kind == AST_STRUCT || decl->kind == AST_UNION) type_complete(decl->type_val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user