Re: [Pugs] Parsing bug with trailing comma in array

2005-03-18 Thread Gaal Yahas
On Sat, Mar 19, 2005 at 02:49:31PM +1100, Andrew Savige wrote: > it fails on: > > my @tt = ( > 'x', > 'y', > ); [...] > I assume a trailing comma in such cases should be treated like p5 > and ignored. It should be. I just noticed this recently too (r818+819 are simple tests for it). Th

[Pugs] Parsing bug with trailing comma in array

2005-03-18 Thread Andrew Savige
I noticed this a while ago but forgot to report it. While Pugs is happy with: my @tt = ( 'x', 'y' ); it fails on: my @tt = ( 'x', 'y', ); with the following error message: unexpected ")" expecting term NonTerm SourcePos "a.p6" 4 1 I assume a trailing comma in such cases shoul