diff --git a/src/interpreter.cc b/src/interpreter.cc index 898a543..45bced9 100644 --- a/src/interpreter.cc +++ b/src/interpreter.cc @@ -2596,9 +2596,6 @@ void _interpret(Program* program, int a2) programFatalError(err); } - // Reset argument counter for error reporting. - program->arg = 0; - handler(program); } diff --git a/src/interpreter.h b/src/interpreter.h index fd91397..87f7c74 100644 --- a/src/interpreter.h +++ b/src/interpreter.h @@ -171,7 +171,6 @@ typedef struct Program { bool exited; ProgramStack* stackValues; ProgramStack* returnStackValues; - int arg; } Program; typedef void OpcodeHandler(Program* program);