mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
examples: bistromathic: simplify
* examples/c/bistromathic/parse.y (expected_tokens): Remove useless "break".
This commit is contained in:
@@ -339,8 +339,6 @@ expected_tokens (const char *input,
|
|||||||
yypstate *ps = yypstate_new ();
|
yypstate *ps = yypstate_new ();
|
||||||
int status = 0;
|
int status = 0;
|
||||||
do {
|
do {
|
||||||
if (!*input)
|
|
||||||
break;
|
|
||||||
YYSTYPE lval;
|
YYSTYPE lval;
|
||||||
int token = yylex (&input, &lval, &lloc);
|
int token = yylex (&input, &lval, &lloc);
|
||||||
if (!token)
|
if (!token)
|
||||||
|
|||||||
Reference in New Issue
Block a user