mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-12-22 18:40:04 +00:00
added multiple return value support to the parser
This commit is contained in:
@@ -175,7 +175,7 @@ int disasmInstr(CChunk *chunk, int offset, int indent) {
|
||||
case OP_INCOBJECT:
|
||||
return u8u16OperandInstruction("OP_INCOBJECT", chunk, offset);
|
||||
case OP_RETURN:
|
||||
return simpleInstruction("OP_RETURN", offset);
|
||||
return u8OperandInstruction("OP_RETURN", chunk, offset);
|
||||
default:
|
||||
printf("Unknown opcode! [%d]\n", i);
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user