[Pkg-mozext-commits] [adblock-plus] 286/464: Fixed yield operator precedence

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 9d161eab4b605b369e42bc414ce4a2b558fdaa4d
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Aug 27 15:54:22 2012 +0200

    Fixed yield operator precedence
---
 scripts/astDecompile.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js
index b89de80..9f3a18d 100644
--- a/scripts/astDecompile.js
+++ b/scripts/astDecompile.js
@@ -174,9 +174,9 @@ function decompileVariableDeclarator(ast) {
 /* Expressions */
 let precedence = {
   "FunctionExpression": 0,
-  "YieldExpression": 1,
-  "SequenceExpression": 2,
-  "AssignmentExpression": 3,
+  "SequenceExpression": 1,
+  "AssignmentExpression": 2,
+  "YieldExpression": 3,
   "ConditionalExpression": 4,
   "||": 5,
   "&&": 6,

-- 
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