]> git.saurik.com Git - bison.git/blobdiff - tests/regression.at
* src/reader.c (readgram): Bind the initial rule's lineno to that
[bison.git] / tests / regression.at
index f6d8f10231dbad4ce6035ca91911b4969cc5e009..78e607b6d92522e9b8b0fea8f511b864d9348658 100644 (file)
@@ -67,7 +67,7 @@ AT_CHECK([cat input.output], [],
 Grammar
 
   Number, Line, Rule
-    0   4 $axiom -> exp $
+    0   3 $axiom -> exp $
     1   3 exp -> exp OP exp
     2   3 exp -> NUM
 
@@ -171,7 +171,7 @@ AT_CHECK([cat input.output], [],
 Grammar
 
   Number, Line, Rule
-    0   5 $axiom -> exp $
+    0   4 $axiom -> exp $
     1   4 exp -> exp OP exp
     2   4 exp -> NUM
 
@@ -296,7 +296,7 @@ AT_CHECK([cat input.output], [],
 [[Grammar
 
   Number, Line, Rule
-    0  28 $axiom -> expr $
+    0   2 $axiom -> expr $
     1   2 @1 -> /* empty */
     2   2 expr -> 'a' @1 'b'
     3  15 @2 -> /* empty */