From dccd45528a8a3652eae2af88dd6c4a34f696a92b Mon Sep 17 00:00:00 2001 From: PlNG Date: Sat, 3 May 2014 05:13:44 -0400 Subject: [PATCH] Minor: Remove unused argument from readToken_slash Possible dev relic. readToken_slash currently does not have any arguments and does not appear to look at arguments. All existing tests pass after removal of extraneous argument while calling readToken_slash. --- acorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acorn.js b/acorn.js index d84e3b3897..9201398d6f 100644 --- a/acorn.js +++ b/acorn.js @@ -700,7 +700,7 @@ // of the type given by its first argument. case 47: // '/' - return readToken_slash(code); + return readToken_slash(); case 37: case 42: // '%*' return readToken_mult_modulo();