mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +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>
|
2008-10-28 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Space and comments changes.
|
Space and comments changes.
|
||||||
|
|||||||
@@ -270,9 +270,7 @@ yylex (void)
|
|||||||
|
|
||||||
/* Skip white space. */
|
/* Skip white space. */
|
||||||
while ((c = get_char ()) == ' ' || c == '\t')
|
while ((c = get_char ()) == ' ' || c == '\t')
|
||||||
{
|
continue;
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* process numbers */
|
/* process numbers */
|
||||||
if (c == '.' || isdigit (c))
|
if (c == '.' || isdigit (c))
|
||||||
|
|||||||
Reference in New Issue
Block a user