Core: Add continue keyword
This commit is contained in:
@@ -295,6 +295,10 @@ parse_stmt_scope(Ast_Scope *scope_defined_outside = 0) {
|
||||
scope->stmts.add(ast_return(token, expr));
|
||||
}
|
||||
|
||||
else if (token_match_keyword(pctx->keyword_continue)) {
|
||||
scope->stmts.add(ast_continue(token));
|
||||
}
|
||||
|
||||
else if (token_match_keyword(pctx->keyword_break)) {
|
||||
scope->stmts.add(ast_break(token));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user