mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
Prefer "continue" for empty loop bodies.
* etc/bench.pl.in: Use "continue" instead of {}.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-10-28 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Prefer "continue" for empty loop bodies.
|
||||
* etc/bench.pl.in: Use "continue" instead of {}.
|
||||
|
||||
2008-10-28 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Space and comments changes.
|
||||
|
||||
@@ -270,9 +270,7 @@ yylex (void)
|
||||
|
||||
/* Skip white space. */
|
||||
while ((c = get_char ()) == ' ' || c == '\t')
|
||||
{
|
||||
|
||||
}
|
||||
continue;
|
||||
|
||||
/* process numbers */
|
||||
if (c == '.' || isdigit (c))
|
||||
|
||||
Reference in New Issue
Block a user