aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MoonP/moon_ast.h')
-rw-r--r--src/MoonP/moon_ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h
index f8d2099..e71afe9 100644
--- a/src/MoonP/moon_ast.h
+++ b/src/MoonP/moon_ast.h
@@ -565,8 +565,9 @@ AST_END(ExpListAssign)
565 565
566AST_NODE(if_else_line, "if_else_line"_id) 566AST_NODE(if_else_line, "if_else_line"_id)
567 ast_ptr<true, Exp_t> condition; 567 ast_ptr<true, Exp_t> condition;
568 ast_ptr<false, Assign_t> assign;
568 ast_sel<false, Exp_t, default_value_t> elseExpr; 569 ast_sel<false, Exp_t, default_value_t> elseExpr;
569 AST_MEMBER(if_else_line, &condition, &elseExpr) 570 AST_MEMBER(if_else_line, &condition, &assign, &elseExpr)
570AST_END(if_else_line) 571AST_END(if_else_line)
571 572
572AST_NODE(unless_line, "unless_line"_id) 573AST_NODE(unless_line, "unless_line"_id)