/[bison]/bison/src/reader.c
ViewVC logotype

Diff of /bison/src/reader.c

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

revision 1.146 by akim, Mon Mar 4 13:58:20 2002 UTC revision 1.147 by akim, Mon Mar 4 16:23:35 2002 UTC
# Line 1445  readgram (void) Line 1445  readgram (void)
1445          /* Warn if there is no default for $$ but we need one.  */          /* Warn if there is no default for $$ but we need one.  */
1446          else if (!xactions && !first_rhs && lhs->type_name != 0)          else if (!xactions && !first_rhs && lhs->type_name != 0)
1447            complain (_("empty rule for typed nonterminal, and no action"));            complain (_("empty rule for typed nonterminal, and no action"));
1448            if (t == tok_two_percents || t == tok_eof)
1449              complain (_("previous rule lacks an ending `;'"));
1450          if (t == tok_semicolon)          if (t == tok_semicolon)
1451            t = lex ();            t = lex ();
1452        }        }

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147

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