mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Adjusted how AST Nodes are generated
This commit is contained in:
@@ -1170,7 +1170,7 @@ static void blockStmt(Parser* parser, ASTNode** nodeHandle) {
|
||||
return;
|
||||
}
|
||||
|
||||
//BUGFIX: statements no longer require an existing node
|
||||
//BUGFIX: statements no longer require the existing node
|
||||
((*nodeHandle)->block.nodes[(*nodeHandle)->block.count++]) = *node;
|
||||
FREE(ASTNode, node); //simply free the tmp node
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user