Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

From: Jesper Juhl (juhl@eisenstein.dk)
Date: Mon Apr 23 2001 - 10:58:39 EST


Sean Hunter wrote:

> On Mon, Apr 23, 2001 at 05:26:27PM +0200, Jesper Juhl wrote:
>> last entry should not have a trailing comma.
>>
>
> Sadly not. This isn't a gcc thing: ANSI says that trailing comma is ok (K&R
> Second edition, A8.7 - pg 218 &219 in my copy)
>

You are right, I just consulted my own copy, and nothing strictly
forbids the comma... Sorry about that, I should have been more thorough
before reporting that one...

- Jesper Juhl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:45 EST