Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys (protosw.h:1.39)



On Mon, Aug 28, 2006 at 05:26:28PM +0400, Valeriy E. Ushakov wrote:
> 
> It's not an empty trailing element.  C99 allows the comma after the
> last element in the list of initiliazers (and also in enums).

Unfortunately C++ doesn't allow them at the end of enums.

Another (ugly and horrid) option is to put the ',' at the start of each line.

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index