aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_ast.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/MoonP/moon_ast.h8
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)
701AST_LEAF(BreakLoop) 701AST_LEAF(BreakLoop)
702AST_END(BreakLoop) 702AST_END(BreakLoop)
703 703
704AST_NODE(BackcallBody)
705 ast_ptr<true, Seperator_t> sep;
706 ast_list<true, unary_exp_t> values;
707 AST_MEMBER(BackcallBody, &sep, &values)
708AST_END(BackcallBody)
709
704AST_NODE(statement_appendix) 710AST_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)
712AST_NODE(Statement) 718AST_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)