|
From: Tom H. <th...@cy...> - 2004-08-25 14:10:40
|
In message <109...@sp...>
Dennis Lubert <pla...@tz...> wrote:
> Interesting, but why ? A comma at the end of enumerator list is
> explicitly allowed by ISO 9899 6.7.2.2-1 (mine is from 04/99 or did I
> miss some recent changes ?)
You've only given part of the standard number so I can't be sure, but
given the date I assume what you have is ISO 9899:1999, commonly known
as C99. You're quite right that a trailing comma is allowed by that.
The issue is that ISO 9899:1990, commonly known as C89 or C90, does
not allow it, so older compilers will complain.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|