diff --git a/src/compiler/codegen.cpp b/src/compiler/codegen.cpp index b2804f8..518fc6a 100644 --- a/src/compiler/codegen.cpp +++ b/src/compiler/codegen.cpp @@ -1085,6 +1085,7 @@ void CodeGen::GenNode(std::vector &instructions, GenNode(instructions, adv.nodes[0], scope, contscope, brkscope, contI, brkI); instructions.push_back(new JumpStyleInstruction(JMPC, ifIdTrue)); + GenNode(instructions, adv.nodes[2], scope, contscope, brkscope, contI, brkI);