From 7b7ecf2377b8f1ecf24cabd661af3f9f4fc79060 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Mon, 2 Sep 2019 14:04:36 -0700 Subject: [PATCH] Remove unused pos and use shorthand --- modern/src/maki-interpreter/parser.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modern/src/maki-interpreter/parser.js b/modern/src/maki-interpreter/parser.js index deb84199..d5c1abc5 100644 --- a/modern/src/maki-interpreter/parser.js +++ b/modern/src/maki-interpreter/parser.js @@ -253,7 +253,6 @@ function parseComand({ start, makiFile, length, pos }) { const command = { offset: pos, start, - pos, opcode, arg: null, argType: opcodeToArgType(opcode), @@ -307,8 +306,8 @@ function parse(buffer) { const extraVersion = makiFile.readUInt32LE(); const classes = readClasses(makiFile); const methods = readMethods(makiFile); - const variables = readVariables({ makiFile: makiFile, classes }); - readConstants({ makiFile: makiFile, variables }); + const variables = readVariables({ makiFile, classes }); + readConstants({ makiFile, variables }); const bindings = readBindings(makiFile); const commands = decodeCode({ makiFile });