diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-10-30 09:10:56 +0200 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-10-30 09:10:56 +0200 |
commit | bea3d90771e98c44a6c20578aabd9ebc81edb6ed (patch) | |
tree | 39531d02390ef8ec1fcaed848471dd399afa39b8 /lib | |
parent | 785c6064cc4d28f3453e88fba3e085c4e2eaf553 (diff) | |
download | tracifyjs-bea3d90771e98c44a6c20578aabd9ebc81edb6ed.tar.gz tracifyjs-bea3d90771e98c44a6c20578aabd9ebc81edb6ed.zip |
minor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parse.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parse.js b/lib/parse.js index 6d69461c..3ccdec80 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -579,10 +579,10 @@ var UNARY_POSTFIX = makePredicate([ "--", "++" ]); var ASSIGNMENT = makePredicate([ "=", "+=", "-=", "/=", "*=", "%=", ">>=", "<<=", ">>>=", "|=", "^=", "&=" ]); var PRECEDENCE = (function(a, ret){ - for (var i = 0, n = 1; i < a.length; ++i, ++n) { + for (var i = 0; i < a.length; ++i) { var b = a[i]; for (var j = 0; j < b.length; ++j) { - ret[b[j]] = n; + ret[b[j]] = i + 1; } } return ret; |