mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Forgot a function call
This commit is contained in:
@@ -126,6 +126,10 @@ static void execInterpreter(Interpreter* interpreter) {
|
|||||||
execPushLiteral(interpreter, opcode == OP_LITERAL_LONG);
|
execPushLiteral(interpreter, opcode == OP_LITERAL_LONG);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case OP_NEGATE:
|
||||||
|
execNegate(interpreter);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
printf("Unknown opcode found %d, terminating\n", opcode);
|
printf("Unknown opcode found %d, terminating\n", opcode);
|
||||||
printLiteralArray(&interpreter->stack, "\n");
|
printLiteralArray(&interpreter->stack, "\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user