mercurial/parser.py
changeset 29767 e5b794063fd4
parent 29059 8eba4cdcfd81
child 30332 318a24b52eeb
--- a/mercurial/parser.py	Wed Aug 10 16:27:33 2016 +0100
+++ b/mercurial/parser.py	Sun Jul 05 21:11:19 2015 +0900
@@ -65,7 +65,7 @@
             # handle infix rules, take as suffix if unambiguous
             infix, suffix = self._elements[token][3:]
             if suffix and not (infix and self._hasnewterm()):
-                expr = (suffix[0], expr)
+                expr = (suffix, expr)
             elif infix:
                 expr = (infix[0], expr, self._parseoperand(*infix[1:]))
             else: