From 0c3dd3a669aa563e0080ebde15862c880a2d6b91 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 9 Mar 2020 07:24:33 +0100 Subject: [PATCH] examples: bistromathic: simplify * examples/c/bistromathic/parse.y (expected_tokens): Remove useless "break". --- examples/c/bistromathic/parse.y | 2 -- 1 file changed, 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)