Prefer "continue" for empty loop bodies.

* etc/bench.pl.in: Use "continue" instead of {}.
This commit is contained in:
Akim Demaille
2008-10-21 15:56:12 -05:00
parent cf98343c1d
commit 0925d5bfd4
2 changed files with 6 additions and 3 deletions

View File

@@ -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.

View File

@@ -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))