Commit b721d449 authored by cremno's avatar cremno

push only after OP_GETCONST in VAL mode; ref #2769

parent 2f635f56
......@@ -1942,7 +1942,9 @@ codegen(codegen_scope *s, node *tree, int val)
int sym = new_sym(s, sym(tree));
genop(s, MKOP_ABx(OP_GETCONST, cursp(), sym));
push();
if (val) {
push();
}
}
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment