On Wed, Jul 15, 2015 at 11:06:07PM +0200, Hiltjo Posthuma wrote:
> diff --git a/cc1/lex.c b/cc1/lex.c
> index c35e401..111c6f8 100644
> --- a/cc1/lex.c
> +++ b/cc1/lex.c
> @@ -184,8 +184,8 @@ comment(char type)
>  {
>       if (type == '*') {
>               while (!eof) {
> -                     while (readchar() !=  '*' && !eof)
> -                             /* nothing */
> +                     while (readchar() != '*' && !eof)
> +                             /* nothing */;
>                       if (readchar() == '/')
>                               break;
>               }

I would have put the semicolon on the same line as the while.

Reply via email to