Permalink
Browse files

Fix precedence of extension nodes (#6386).

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14711 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent 676497f commit 772a84381271f12426d5010be27c6f4bf6263b05 @alainfrisch alainfrisch committed Apr 30, 2014
Showing with 1 addition and 3 deletions.
  1. +1 −3 parsing/parser.mly
View
@@ -453,8 +453,6 @@ The precedences must be listed from low to high.
%nonassoc below_LBRACKETAT
%nonassoc LBRACKETAT
%nonassoc LBRACKETATAT
-%nonassoc LBRACKETPERCENT
-%nonassoc LBRACKETPERCENTPERCENT
%right COLONCOLON /* expr (e :: e :: e) */
%left INFIXOP2 PLUS PLUSDOT MINUS MINUSDOT /* expr (e OP e OP e) */
%left PERCENT INFIXOP3 STAR /* expr (e OP e OP e) */
@@ -470,7 +468,7 @@ The precedences must be listed from low to high.
%nonassoc BACKQUOTE BANG BEGIN CHAR FALSE FLOAT INT INT32 INT64
LBRACE LBRACELESS LBRACKET LBRACKETBAR LIDENT LPAREN
NEW NATIVEINT PREFIXOP STRING TRUE UIDENT
- /*LBRACKETPERCENT LBRACKETPERCENTPERCENT*/
+ LBRACKETPERCENT LBRACKETPERCENTPERCENT
/* Entry points */

0 comments on commit 772a843

Please sign in to comment.