diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-08-21 20:06:57 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-08-22 00:01:55 +0300 |
commit | fb8c9e3a48501c0a49ec30ba0a60cad7053adc3f (patch) | |
tree | f33e40a9c7c18eeb0367cfae3c452856ed49eb0b /lib/scope.js | |
parent | 1b839eb35bfb7cb28c59ee80bd88e395f33711ca (diff) | |
download | tracifyjs-fb8c9e3a48501c0a49ec30ba0a60cad7053adc3f.tar.gz tracifyjs-fb8c9e3a48501c0a49ec30ba0a60cad7053adc3f.zip |
declare some properties in the node constructor so that they're copied in clone
Diffstat (limited to 'lib/scope.js')
-rw-r--r-- | lib/scope.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/scope.js b/lib/scope.js index a0170561..5ee0fb4b 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -231,9 +231,9 @@ AST_Scope.DEFMETHOD("next_mangled", function(){ out: while (true) { var m = base54(++this.cname); if (!is_identifier(m)) continue; // skip over "do" - // if it's for functions or variables, we must ensure that the - // mangled name does not shadow a name from some parent scope - // that is referenced in this or in inner scopes. + // we must ensure that the mangled name does not shadow a name + // from some parent scope that is referenced in this or in + // inner scopes. for (var i = n; --i >= 0;) { var sym = ext[i]; var name = sym.mangled_name || sym.name; |