diff options
Diffstat (limited to 'src/MoonP/moon_ast.h')
-rw-r--r-- | src/MoonP/moon_ast.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h index dd11ac4..4918a0a 100644 --- a/src/MoonP/moon_ast.h +++ b/src/MoonP/moon_ast.h | |||
@@ -663,20 +663,24 @@ AST_NODE(unless_line) | |||
663 | AST_MEMBER(unless_line, &condition) | 663 | AST_MEMBER(unless_line, &condition) |
664 | AST_END(unless_line) | 664 | AST_END(unless_line) |
665 | 665 | ||
666 | AST_LEAF(BreakLoop) | ||
667 | AST_END(BreakLoop) | ||
668 | |||
666 | AST_NODE(statement_appendix) | 669 | AST_NODE(statement_appendix) |
667 | ast_sel<true, if_line_t, unless_line_t, CompInner_t> item; | 670 | ast_sel<true, if_line_t, unless_line_t, CompInner_t> item; |
668 | AST_MEMBER(statement_appendix, &item) | 671 | AST_MEMBER(statement_appendix, &item) |
669 | AST_END(statement_appendix) | 672 | AST_END(statement_appendix) |
670 | 673 | ||
671 | AST_LEAF(BreakLoop) | 674 | AST_LEAF(statement_sep) |
672 | AST_END(BreakLoop) | 675 | AST_END(statement_sep) |
673 | 676 | ||
674 | AST_NODE(Statement) | 677 | AST_NODE(Statement) |
675 | ast_sel<true, Import_t, While_t, Repeat_t, For_t, ForEach_t, | 678 | ast_sel<true, Import_t, While_t, Repeat_t, For_t, ForEach_t, |
676 | Return_t, Local_t, Global_t, Export_t, Macro_t, BreakLoop_t, | 679 | Return_t, Local_t, Global_t, Export_t, Macro_t, BreakLoop_t, |
677 | Label_t, Goto_t, Backcall_t, ExpListAssign_t> content; | 680 | Label_t, Goto_t, Backcall_t, ExpListAssign_t> content; |
678 | ast_ptr<false, statement_appendix_t> appendix; | 681 | ast_ptr<false, statement_appendix_t> appendix; |
679 | AST_MEMBER(Statement, &content, &appendix) | 682 | ast_ptr<false, statement_sep_t> needSep; |
683 | AST_MEMBER(Statement, &content, &appendix, &needSep) | ||
680 | AST_END(Statement) | 684 | AST_END(Statement) |
681 | 685 | ||
682 | class Block_t; | 686 | class Block_t; |