diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-03-09 07:24:33 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-03-09 07:24:33 +0100 |
commit | 0c3dd3a669aa563e0080ebde15862c880a2d6b91 (patch) | |
tree | 3bc25b86fc20c6020469bec4cfee67b450b875f7 /examples | |
parent | 951da960e6f890166d5f0cfd0614a54351b35086 (diff) | |
download | bison-0c3dd3a669aa563e0080ebde15862c880a2d6b91.tar.gz |
examples: bistromathic: simplify
* examples/c/bistromathic/parse.y (expected_tokens): Remove useless "break".
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/bistromathic/parse.y | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/c/bistromathic/parse.y b/examples/c/bistromathic/parse.y index 02bd93f1..b91fd094 100644 --- a/examples/c/bistromathic/parse.y +++ b/examples/c/bistromathic/parse.y @@ -339,8 +339,6 @@ expected_tokens (const char *input, yypstate *ps = yypstate_new (); int status = 0; do { - if (!*input) - break; YYSTYPE lval; int token = yylex (&input, &lval, &lloc); if (!token) |