comma at end of enumerator-list

Charles Hannum mycroft at kropotki.gnu.ai.mit.edu
Mon Jul 1 13:53:18 AEST 1991


In article <10756 at labtam.labtam.oz.au> timr at labtam.labtam.oz.au (Tim Roper) writes:

   (a) a trailing comma at the end of an enumerator-list is not allowed,
       as in:
	   enum	bletch	{
		   foo,
		   bar,
	   };

   Please note that I am not crusading but simply confused about why I
   thought (a) was common usage and (b) was not true.


You've been using Turbo C too much.  B-)



More information about the Comp.std.c mailing list