diff options
-rw-r--r-- | src/jsifier.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index e73a5861..a5909344 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -579,7 +579,7 @@ function JSify(data) { // Wrapping in a function lets us easily return values if we are // in an assignment var ret = '(function() { try { __THREW__ = false; return ' - + makeFunctionCall(item.ident, item.params) + ' ' + + makeFunctionCall(item.ident, item.params, item.funcData) + ' ' + '} catch(e) { ' + '__THREW__ = true; ' + (EXCEPTION_DEBUG ? 'print("Exception: " + e + " : " + (new Error().stack)); ' : '') @@ -840,7 +840,7 @@ function JSify(data) { } }).map(indexizeFunctions); - if (funcData && getVarData(funcData, ident)) { + if (getVarData(funcData, ident)) { ident = 'FUNCTION_TABLE[' + ident + ']'; } |