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 |
} |
} |