Core: #compiler_breakpoint
This commit is contained in:
@@ -160,7 +160,7 @@ ast_break(Token *pos) {
|
||||
|
||||
CORE_Static Ast_Break *
|
||||
ast_compiler_breakpoint(Token *pos) {
|
||||
AST_NEW(Break, COMPILER_BREAKPOINT, pos, AST_STMT);
|
||||
AST_NEW(Break, COMPILER_BREAKPOINT_STMT, pos, AST_STMT);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -566,7 +566,7 @@ void next(Ast_Iter *iter) {
|
||||
case AST_BREAK:
|
||||
case AST_PASS:
|
||||
case AST_CONTINUE:
|
||||
case AST_COMPILER_BREAKPOINT: {
|
||||
case AST_COMPILER_BREAKPOINT_STMT: {
|
||||
Ast *node = (Ast *)ast;
|
||||
} break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user