mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fixed an non-optimized grouping bug
This commit is contained in:
@@ -143,7 +143,7 @@ static Opcode grouping(Parser* parser, Node** nodeHandle, bool canBeAssigned) {
|
||||
}
|
||||
|
||||
//process the result without optimisations
|
||||
emitNodeUnary(nodeHandle, NODE_GROUPING);
|
||||
emitNodeGrouping(nodeHandle);
|
||||
nodeHandle = &((*nodeHandle)->unary.child); //re-align after append
|
||||
(*nodeHandle) = tmpNode;
|
||||
return OP_EOF;
|
||||
|
||||
Reference in New Issue
Block a user