/[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.72.2.29 by akim, Mon Mar 4 16:21:52 2002 UTC revision 1.72.2.30 by akim, Mon Mar 4 16:59:51 2002 UTC
# Line 1441  readgram (void) Line 1441  readgram (void)
1441                    symval = ssave;                    symval = ssave;
1442                    if (t1 == tok_colon)                    if (t1 == tok_colon)
1443                      {                      {
1444                        complain (_("previous rule lacks an ending `;'"));                        warn (_("previous rule lacks an ending `;'"));
1445                        break;                        break;
1446                      }                      }
1447    
# Line 1553  readgram (void) Line 1553  readgram (void)
1553            else if (!xactions && !first_rhs && lhs->type_name != 0)            else if (!xactions && !first_rhs && lhs->type_name != 0)
1554              complain (_("empty rule for typed nonterminal, and no action"));              complain (_("empty rule for typed nonterminal, and no action"));
1555            if (t == tok_two_percents || t == tok_eof)            if (t == tok_two_percents || t == tok_eof)
1556              complain (_("previous rule lacks an ending `;'"));              warn (_("previous rule lacks an ending `;'"));
1557            if (t == tok_semicolon)            if (t == tok_semicolon)
1558              t = lex ();              t = lex ();
1559          }          }

Legend:
Removed from v.1.72.2.29  
changed lines
  Added in v.1.72.2.30

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