[Pkg-mozext-commits] [adblock-plus] 291/464: Fixed precedence of the "for (... in ...)" loop

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit fadb414a154ee8a792881f6d8139b2a4bf929412
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Aug 27 19:49:59 2012 +0200

    Fixed precedence of the "for (... in ...)" loop
---
 scripts/astDecompile.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js
index 1536a37..d4adc8b 100644
--- a/scripts/astDecompile.js
+++ b/scripts/astDecompile.js
@@ -183,7 +183,7 @@ let precedence = {
   "^": 7,
   "&": 8,
   "==": 9, "!=": 9, "===": 9, "!==": 9,
-  "<=": 10, ">=": 10, "<": 10, ">": 10, "in": 10, "instanceof": 10,
+  "<=": 10, ">=": 10, "<": 10, ">": 10, "in": 10, "instanceof": 10, "ForInStatement": 10,
   "<<": 11, ">>": 11, ">>>": 11,
   "+": 12, "-": 12,
   "*": 13, "/": 13, "%": 13,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list