]> git.saurik.com Git - bison.git/blobdiff - tests/java.at
variants: stylistic change
[bison.git] / tests / java.at
index 1fff3628532b22ca284d3a4234d23e0e8bcc7051..c5aae2f5c8c9c0aaf629a89b6f770af3fb7f7489 100644 (file)
@@ -54,11 +54,11 @@ AT_DATA([Calc.y],
 %token <Integer> NUM "number"
 %type  <Integer> exp
 
-%nonassoc '=' /* comparison            */
+%nonassoc '='       /* comparison            */
 %left '-' '+'
 %left '*' '/'
-%left NEG     /* negation--unary minus */
-%right '^'    /* exponentiation        */
+%precedence NEG     /* negation--unary minus */
+%right '^'          /* exponentiation        */
 
 /* Grammar follows */
 %%