On Sun, Feb 27, 2005 at 04:14:34PM -0500, Abhijit Mahabal wrote:
> I hunted down the cause of the non-parsing of
>   ok((2 + 3) == $five, "== (sum on lhs)");
> in 03operator.t, but am not yet up to speed in Haskell to fix it.
> 
> Below is the location of the problem.
> 
> The error is in Parser.hs, in the blocks for parseApply and 
> parseParamList. parseApply eats parens using maybeDotParens, and then 
> calls parseParamList, which is also willing enough to gobble more parens.
> Thus the following fails to parse: f((2+3),5), but this succeeds: 
> f(((2+3), 5)).

...and the solution is to change maybeDotParens into a simple
maybeDot. Much thanks for tracking this down! It's been fixed in 6.0.9.

Thanks,
/Autrijus/

Attachment: pgpG0bxtY3vPV.pgp
Description: PGP signature

Reply via email to