diff options
-rw-r--r-- | lib/scope.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scope.js b/lib/scope.js index 4cea5176..20d9d730 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -242,7 +242,7 @@ AST_Lambda.DEFMETHOD("init_scope_vars", function(){ AST_Scope.prototype.init_scope_vars.apply(this, arguments); this.uses_arguments = false; - var symbol = new AST_VarDef({ name: "arguments" }); + var symbol = new AST_VarDef({ name: "arguments", start: this.start, end: this.end }); var def = new SymbolDef(this, this.variables.size(), symbol); this.variables.set(symbol.name, def); }); |