In article <[EMAIL PROTECTED]>,
 Fredrik Lundh <[EMAIL PROTECTED]> wrote:

> Roy Smith wrote:
> 
> > Yowza, you're right (at least for the one case I tried).  This must be a 
> > new development (where "new development" is defined as, "It wasn't legal in 
> > the original K&R C I learned when I was a pup").
> 
> the C 89 grammar appears to be:
> 
>      initializer:
>          assignment-expression
>          { initializer-list }
>          { initializer-list , }
> 
>      initializer-list:
>          designation-opt initializer
>          initializer-list , designation-opt initializer
> 
> so a trailing comma has been allowed for around twenty years.
> 
> </F>

C89 came out about 10 years after I first learned C :-)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to