Barry O'Sullivan <[EMAIL PROTECTED]> writes:

> Essentially, mkdependHS always picks-up an import statement even if the
> import is commented as shown in My_Module.hs below. Commenting imports in
> this manner will cause mkdependHS to crash with the error I have included.

Yes, mkdependHS doesn't know about Haskell comments.  For now, there
are a couple of possible workarounds: either surround the code with
#if 0/#endif and use -cpp, or separate the import declaration onto two
lines, like this:

        import
                Foo

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to