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