diff options
Diffstat (limited to '')
-rw-r--r-- | src/MoonP/moon_ast.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h index d00d855..2f5123b 100644 --- a/src/MoonP/moon_ast.h +++ b/src/MoonP/moon_ast.h | |||
@@ -701,6 +701,12 @@ AST_END(unless_line) | |||
701 | AST_LEAF(BreakLoop) | 701 | AST_LEAF(BreakLoop) |
702 | AST_END(BreakLoop) | 702 | AST_END(BreakLoop) |
703 | 703 | ||
704 | AST_NODE(BackcallBody) | ||
705 | ast_ptr<true, Seperator_t> sep; | ||
706 | ast_list<true, unary_exp_t> values; | ||
707 | AST_MEMBER(BackcallBody, &sep, &values) | ||
708 | AST_END(BackcallBody) | ||
709 | |||
704 | AST_NODE(statement_appendix) | 710 | AST_NODE(statement_appendix) |
705 | ast_sel<true, if_line_t, unless_line_t, CompInner_t> item; | 711 | ast_sel<true, if_line_t, unless_line_t, CompInner_t> item; |
706 | AST_MEMBER(statement_appendix, &item) | 712 | AST_MEMBER(statement_appendix, &item) |
@@ -712,7 +718,7 @@ AST_END(statement_sep) | |||
712 | AST_NODE(Statement) | 718 | AST_NODE(Statement) |
713 | ast_sel<true, Import_t, While_t, Repeat_t, For_t, ForEach_t, | 719 | ast_sel<true, Import_t, While_t, Repeat_t, For_t, ForEach_t, |
714 | Return_t, Local_t, Global_t, Export_t, Macro_t, BreakLoop_t, | 720 | Return_t, Local_t, Global_t, Export_t, Macro_t, BreakLoop_t, |
715 | Label_t, Goto_t, Backcall_t, LocalAttrib_t, ExpListAssign_t> content; | 721 | Label_t, Goto_t, Backcall_t, LocalAttrib_t, BackcallBody_t, ExpListAssign_t> content; |
716 | ast_ptr<false, statement_appendix_t> appendix; | 722 | ast_ptr<false, statement_appendix_t> appendix; |
717 | ast_ptr<false, statement_sep_t> needSep; | 723 | ast_ptr<false, statement_sep_t> needSep; |
718 | AST_MEMBER(Statement, &content, &appendix, &needSep) | 724 | AST_MEMBER(Statement, &content, &appendix, &needSep) |