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

Diff of /bison/tests/reduce.at

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

revision 1.10 by akim, Sat Jun 15 18:23:33 2002 UTC revision 1.11 by akim, Mon Jul 29 17:28:56 2002 UTC
# Line 332  Useless rules Line 332  Useless rules
332  ]])  ]])
333    
334  AT_CLEANUP  AT_CLEANUP
335    
336    
337    
338    ## ---------------- ##
339    ## Empty Language.  ##
340    ## ---------------- ##
341    
342    AT_SETUP([Empty Language])
343    
344    AT_DATA([[input.y]],
345    [[%output="input.c"
346    %%
347    exp: exp;
348    ]])
349    
350    AT_CHECK([[bison input.y]], 1, [],
351    [[input.y: warning: 2 useless nonterminals and 2 useless rules
352    input.y:3.1-3: fatal error: start symbol exp does not derive any sentence
353    ]])
354    
355    AT_CLEANUP

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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