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

Diff of /bison/tests/regression.at

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

revision 1.70 by eggert, Mon Oct 14 08:05:20 2002 UTC revision 1.71 by eggert, Mon Oct 14 08:43:36 2002 UTC
# Line 50  exp: MY_TOKEN; Line 50  exp: MY_TOKEN;
50  %%  %%
51  ]])  ]])
52    
53  AT_CHECK([bison input.y -o input.c])  AT_CHECK([bison -o input.c input.y])
54  AT_COMPILE([input.o], [-c input.c])  AT_COMPILE([input.o], [-c input.c])
55    
56  AT_CLEANUP  AT_CLEANUP
# Line 72  exp: { tests = {{{{{{{{{{}}}}}}}}}}; }; Line 72  exp: { tests = {{{{{{{{{{}}}}}}}}}}; };
72  %%  %%
73  ]])  ]])
74    
75  AT_CHECK([bison -v input.y -o input.c])  AT_CHECK([bison -v -o input.c input.y])
76    
77  AT_CHECK([grep 'tests = {{{{{{{{{{}}}}}}}}}};' input.c], 0, [ignore])  AT_CHECK([grep 'tests = {{{{{{{{{{}}}}}}}}}};' input.c], 0, [ignore])
78    
# Line 99  exp: '(' exp ')' | NUM ; Line 99  exp: '(' exp ')' | NUM ;
99  %%  %%
100  ]])  ]])
101    
102  AT_CHECK([bison -v input.y -o input.c], 0, [],  AT_CHECK([bison -v -o input.c input.y], 0, [],
103  [[input.y:6.8-14: warning: symbol `"<="' used more than once as a literal string  [[input.y:6.8-14: warning: symbol `"<="' used more than once as a literal string
104  ]])  ]])
105    
# Line 144  expr: Line 144  expr:
144  };  };
145  ]])  ]])
146    
147  AT_CHECK([bison input.y -o input.c -v])  AT_CHECK([bison -o input.c -v input.y])
148    
149  # Check the contents of the report.  # Check the contents of the report.
150  AT_CHECK([cat input.output], [],  AT_CHECK([cat input.output], [],
# Line 266  exp: ; Line 266  exp: ;
266  %%  %%
267  ]])  ]])
268    
269  AT_CHECK([bison -v input.y -o input.c])  AT_CHECK([bison -v -o input.c input.y])
270    
271  AT_CLEANUP  AT_CLEANUP
272    
# Line 327  int yylex (void); Line 327  int yylex (void);
327  exp: "a";  exp: "a";
328  ]])  ]])
329    
330  AT_CHECK([bison input.y -o input.c])  AT_CHECK([bison -o input.c input.y])
331  AT_COMPILE([input.o], [-c input.c])  AT_COMPILE([input.o], [-c input.c])
332  AT_CLEANUP  AT_CLEANUP
333    
# Line 353  exp: Line 353  exp:
353  ;  ;
354  ]])  ]])
355    
356  AT_CHECK([bison input.y -o input.c])  AT_CHECK([bison -o input.c input.y])
357  AT_COMPILE([input.o], [-c input.c])  AT_COMPILE([input.o], [-c input.c])
358  AT_CLEANUP  AT_CLEANUP
359    
# Line 558  else: "else" statement; Line 558  else: "else" statement;
558  %%  %%
559  ]])  ]])
560    
561  AT_CHECK([bison -v input.y -o input.c])  AT_CHECK([bison -v -o input.c input.y])
562    
563  # Check only the tables.  We don't use --no-parser, because it is  # Check only the tables.  We don't use --no-parser, because it is
564  # still to be implemented in the experimental branch of Bison.  # still to be implemented in the experimental branch of Bison.

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71

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