head aches in parser/Parser.hs
Ian Lynagh
igloo at earth.li
Tue Aug 5 07:25:27 EDT 2008
On Tue, Aug 05, 2008 at 09:42:19AM +0100, Simon Marlow wrote:
>
> Ian: I suspect this is now broken. So we could either require Happy and
> Alex unconditionally, in which case the wiki docs need to be updated, or we
> could restore the previous behaviuor, but I'm guessing that's harder.
In the 6.8 series we had to hack around this for Parser.ly in
haskell-src. We did:
dist ::
[...]
cp libraries/haskell-src/dist/build/Language/Haskell/Parser.hs
libraries/haskell-src/Language/Haskell/
mv libraries/haskell-src/Language/Haskell/Parser.ly
libraries/haskell-src/Language/Haskell/Parser.ly.source
[...]
We can do something similar for the .y and .x files in compiler/
It isn't pretty, but it works.
Thanks
Ian
More information about the Cvs-ghc
mailing list