This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Is it correct: enum {a=6,}; ?


Dear gcc developers!

Both egcs-1.1.2 and gcc-2.95 think that line
enum {a=6,};
is correct. Why this is not parse error (extra symbol ',' in the line)?

With best wishes,
Alexander Zvyagin.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]