Re: bug in dependency generation
On Thu, Apr 19, 2001 at 20:49:25 -0600, Alastair Reid wrote: PPUnits.hs: can't find one of the following: `is.hi' `is.hs' `is.lhs' Obviously, the dependency generating code is being confused by the function name "import'". I'd go fix the relevant regexp myself except that I can't figure out where it lives. I think, a similar bug has IIRC already been reported and identified. Julian is having a look into it... Cheers, Michael -- () ASCII ribbon campaign | Chair for Computer Science II | GPG: F65C68CD /\ against HTML mail | RWTH Aachen, Germany | PGP: 1D0DD0B9 "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
bug in dependency generation
Running this: cat PPUnits.hs EOF module PPUnits ( defns ) where addunit (is,es,cs,deps,gls,gs,defs,bs) = text "" + vlist2 lbrack comma rbrack (map import' is) semi EOF ghc-5.00 -M PPUnits.hs (on a Debian Linux box using a CVS snapshot from this morning) results in this curious error: PPUnits.hs: can't find one of the following: `is.hi' `is.hs' `is.lhs' Obviously, the dependency generating code is being confused by the function name "import'". I'd go fix the relevant regexp myself except that I can't figure out where it lives. I'd really appreciate it if you could suggest a patch or workaround. The best option I can think of is to use ghc-4.x to generate dependencies and ghc-5.x to compile code. Blech! -- Alastair Reid[EMAIL PROTECTED]http://www.cs.utah.edu/~reid/ ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs