mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixes the source pos access for ENUM_if_statement
(out of bounds index)
This commit is contained in:
parent
2a485a6b69
commit
11349f9ad5
1 changed files with 1 additions and 1 deletions
|
@ -1217,7 +1217,7 @@ __emit:
|
|||
|
||||
case ENUM_if_statement:
|
||||
EmitValue(val.node[1]);
|
||||
EmitVarToBool(val.node[4].sourcePosValue);
|
||||
EmitVarToBool(val.node[3].sourcePosValue);
|
||||
EmitIfJump(val.node[2], val.node[3].sourcePosValue);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue