/[bison]/bison/tests/conflicts.at
ViewVC logotype

Diff of /bison/tests/conflicts.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by akim, Sun May 26 20:25:52 2002 UTC revision 1.6 by akim, Sat Jun 15 18:23:12 2002 UTC
# Line 130  AT_CLEANUP Line 130  AT_CLEANUP
130    
131  AT_SETUP([Unresolved SR Conflicts])  AT_SETUP([Unresolved SR Conflicts])
132    
133    AT_KEYWORDS([report])
134    
135  AT_DATA([input.y],  AT_DATA([input.y],
136  [[%token NUM OP  [[%token NUM OP
137  %%  %%
# Line 147  AT_CHECK([cat input.output], [], Line 149  AT_CHECK([cat input.output], [],
149    
150  Grammar  Grammar
151    
152    Number, Line, Rule      0 $axiom: exp $
153      0   3 $axiom -> exp $  
154      1   3 exp -> exp OP exp      1 exp: exp OP exp
155      2   3 exp -> NUM      2    | NUM
156    
157    
158  Terminals, with rules where they appear  Terminals, with rules where they appear
# Line 241  AT_CLEANUP Line 243  AT_CLEANUP
243    
244  AT_SETUP([Solved SR Conflicts])  AT_SETUP([Solved SR Conflicts])
245    
246    AT_KEYWORDS([report])
247    
248  AT_DATA([input.y],  AT_DATA([input.y],
249  [[%token NUM OP  [[%token NUM OP
250  %right OP  %right OP
# Line 254  AT_CHECK([bison input.y -o input.c --rep Line 258  AT_CHECK([bison input.y -o input.c --rep
258  AT_CHECK([cat input.output], [],  AT_CHECK([cat input.output], [],
259  [[Grammar  [[Grammar
260    
261    Number, Line, Rule      0 $axiom: exp $
262      0   4 $axiom -> exp $  
263      1   4 exp -> exp OP exp      1 exp: exp OP exp
264      2   4 exp -> NUM      2    | NUM
265    
266    
267  Terminals, with rules where they appear  Terminals, with rules where they appear

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26