Forgot a function call

This commit is contained in:
2022-08-06 08:22:09 +01:00
parent 3cdf77b85c
commit c178824a0a

View File

@@ -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");