mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Allow for stmt to have empty clauses, resolved #58
This commit is contained in:
@@ -965,6 +965,11 @@ static Toy_Opcode Toy_writeCompilerWithJumps(Toy_Compiler* compiler, Toy_ASTNode
|
||||
return TOY_OP_INDEX_ASSIGN; //override binary's instruction IF it is assign
|
||||
}
|
||||
break;
|
||||
|
||||
case TOY_AST_NODE_PASS: {
|
||||
return TOY_OP_PASS;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return TOY_OP_EOF;
|
||||
|
||||
Reference in New Issue
Block a user