On 05/08/2008, at 21:15, Duncan Coutts wrote:

It knows that .y can be pre-processed to .hs so if it finds both .hs
and .y then it knows that .y is the ultimate source file and
pre-processes that.

Do you think this is the wrong behaviour or are you observing different
behaviour?

I think I'm observing a different behaviour. I don't think a Parser.hs left over from a previous build would have affected the build with the behaviour you describe.

Out of idle curiousity, what happens if Cabal finds both Foo.y and Foo.x? Is all this documented somewhere? I couldn't find anything in the Cabal docs but maybe I just looked in the wrong place.

Roman


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to