> The handling of terminals in happy 1.9 seems to have been
> broken to some
> extent;
>
> terminals which DON'T have an explict $$ in them,
> ie, tokens defined like:
> %token INT { TokenInt _ }
>
> as opposed to
>
> %token INT { TokenInt $$ }
>
> do not get a sibstitution for a happy_var_<position> at all,
> so referring to
> them with $<position> doesn't work.
>
> This is different to the the behaviour in Happy 1.8, where
> one would get the
> whole terminal matched to the happy_var_<position>.
Yes, this is a bug in happy-1.9. I fixed it recently in the CVS
repository, and as soon as I get a chance I'll do a 1.10 release.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs