aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLu Wang <coolwanglu@gmail.com>2014-01-06 19:14:29 +0800
committerLu Wang <coolwanglu@gmail.com>2014-01-06 19:14:29 +0800
commit4f03056d11d8d19a14568e07ff6e719f36c9ec2a (patch)
tree2f7164b7867de1ae986a506a87374e725dc0d833
parentf0ce3c4f0cbe94da9a82531b189d26717b645527 (diff)
tokenize() does not accept a 2nd parameter
-rw-r--r--src/intertyper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index b34d0c08..10822e48 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -241,7 +241,7 @@ function intertyper(lines, sidePass, baseLineNums) {
if (mainPass && /^}.*/.test(line)) {
inFunction = false;
if (mainPass) {
- var func = funcHeaderHandler({ tokens: tokenize(currFunctionLines[0], currFunctionLineNum) });
+ var func = funcHeaderHandler({ tokens: tokenize(currFunctionLines[0]) });
if (SKIP_STACK_IN_SMALL && /emscripten_autodebug/.exec(func.ident)) {
warnOnce('Disabling SKIP_STACK_IN_SMALL because we are apparently processing autodebugger data');