diff options
Diffstat (limited to 'src/MoonP/moon_compiler.cpp')
-rw-r--r-- | src/MoonP/moon_compiler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MoonP/moon_compiler.cpp b/src/MoonP/moon_compiler.cpp index b1770fb..4723af4 100644 --- a/src/MoonP/moon_compiler.cpp +++ b/src/MoonP/moon_compiler.cpp | |||
@@ -601,6 +601,7 @@ private: | |||
601 | 601 | ||
602 | auto ifCond = x->new_ptr<IfCond_t>(); | 602 | auto ifCond = x->new_ptr<IfCond_t>(); |
603 | ifCond->condition.set(if_else_line->condition); | 603 | ifCond->condition.set(if_else_line->condition); |
604 | ifCond->assign.set(if_else_line->assign); | ||
604 | ifNode->nodes.push_back(ifCond); | 605 | ifNode->nodes.push_back(ifCond); |
605 | 606 | ||
606 | auto stmt = x->new_ptr<Statement_t>(); | 607 | auto stmt = x->new_ptr<Statement_t>(); |