if (pass_comments)
{
bufpos = 0;
- while (1)
+ for (;;)
{
while (bufpos + mb_len (mbc) >= bufmax)
{
case '"':
/* Accumulate a string. */
bufpos = 0;
- while (1)
+ for (;;)
{
lex_getc (mbc);
while (bufpos + mb_len (mbc) >= bufmax)
++line_number;
return c;
}
- while (1)
+ for (;;)
{
c = getc (fp);
switch (c)
/* C comment. */
comment_start ();
last_was_star = false;
- while (1)
+ for (;;)
{
c = phase3_getc ();
if (c == EOF)
case '/':
/* C++ or ISO C 99 comment. */
comment_start ();
- while (1)
+ for (;;)
{
c = phase3_getc ();
if (c == '\n' || c == EOF)
number tokens. This is mostly due to token pasting (another
thing we can ignore here). */
bufpos = 0;
- while (1)
+ for (;;)
{
if (bufpos >= bufmax)
{
but ignoring it has no effect unless one of the keywords is
"L". Just pretend it won't happen. Also, we don't need to
remember the character constant. */
- while (1)
+ for (;;)
{
c = phase7_getc ();
if (c == P7_NEWLINE)
let the compiler complain about the argument not matching the
prototype. Just pretend it won't happen. */
bufpos = 0;
- while (1)
+ for (;;)
{
c = phase7_getc ();
if (c == P7_NEWLINE)
*tp = phase6_pushback[--phase6_pushback_length];
return;
}
- while (1)
+ for (;;)
{
/* Get the next token. If it is not a '#' at the beginning of a
line (ignoring whitespace), return immediately. */
/* Accumulate the rest of the directive in a buffer, until the
"define" keyword is seen or until end of line. */
bufpos = 0;
- while (1)
+ for (;;)
{
phaseX_get (tp);
if (tp->type == token_type_eoln || tp->type == token_type_eof)
phase6_get (tp);
if (tp->type != token_type_string_literal)
return;
- while (1)
+ for (;;)
{
token_ty tmp;
size_t len;
x_c_lex (tp)
xgettext_token_ty *tp;
{
- while (1)
+ for (;;)
{
token_ty token;
void *keyword_value;
/* Start state is 0. */
state = 0;
- while (1)
+ for (;;)
{
xgettext_token_ty token;