head aches in parser/Parser.hs
claus.reinke at talk21.com
Mon Aug 4 15:25:00 EDT 2008
Another 'make distclean' removes Parser.hs, but leaves lots of other
.hs files that have .x or .y files:
$ ls compiler/parser/
Ctype.lhs HaddockLex.x HaddockUtils.hs Lexer.x ParserCore.y
HaddockLex.hs HaddockParse.hs LexCore.hs Parser.y.pp ParserCoreUtils.hs
HaddockLex.hs-boot HaddockParse.y Lexer.hs ParserCore.hs RdrHsSyn.lhs
This includes Lexer.hs, which -unlike Lexer.x- doesn't know about
ITwarning_prag. It seems that the rumours about the build system
having settled down might have been premature?
Another question: why do buildbot builders start from fresh repos?
Shouldn't they test the more common update repo situation?
> make distclean; ./darcs-all pull -a; sh boot; ./configure ..; make
> first complained about
> Module `HscTypes' does not export `DeprecTxt'
> Since Parser.hs and Parser.y looked different, I removed the former
> and tried again. But now, I get
> Not in scope: data constructor `ITwarning_prag'
> and that constructor really does occur in Parser.y.pp. I've got
> no idea why the location of the file in the message has changed,
> which suggests that something else is wrong.
> Since I always do distclean before pull, this kind of confusion
> surprises me, but it does look like leftovers somewhere, especially
> since buildbot just went past that stage1.
> Do I really have to download the whole ghc-repo tarball again and start from scratch (since there
> have been capitalization issues in the repos since I last did that, I doubt that I can use darcs
> to copy the old repo?)?
> -- ghc head should come with aspirin
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
More information about the Cvs-ghc