mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-09-30 16:54:14 +00:00
Fix ternary
This commit is contained in:
@@ -1085,6 +1085,7 @@ void CodeGen::GenNode(std::vector<ByteCodeInstruction *> &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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user