/[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.45 by akim, Mon Apr 22 08:22:22 2002 UTC revision 1.46 by akim, Sat May 4 08:48:04 2002 UTC
# Line 287  AT_CLEANUP Line 287  AT_CLEANUP
287    
288    
289    
290    ## ------------------- ##
291    ## Token definitions.  ##
292    ## ------------------- ##
293    
294    
295    AT_SETUP([Token definitions])
296    
297    # Bison managed, when fed with `%token 'f' "f"' to #define 'f'!
298    AT_DATA([input.y],
299    [[%token "end of file"
300    %token 'a' "a"
301    %token "b" 'b'
302    %token "c" c
303    %token d "d"
304    %token e 'e'
305    %token 'f' e
306    %%
307    exp: "a";
308    ]])
309    
310    AT_CHECK([bison input.y -o input.c])
311    AT_CHECK([$CC $CFLAGS $CPPFLAGS input.c -c])
312    AT_CLEANUP
313    
314    
315    
316  ## -------------- ##  ## -------------- ##
317  ## Web2c Report.  ##  ## Web2c Report.  ##
318  ## -------------- ##  ## -------------- ##

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

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