[darcs-devel] Re: darcs patch: Move conditional #include from
Darcs.External to makef...
Eric Y. Kow
eric.kow at gmail.com
Mon Aug 13 04:16:24 PDT 2007
On Mon, Aug 13, 2007 at 11:01:47 +0100, Dave Love wrote:
> I suspect it should be asked about in GHC land if no-one here knows
> what's going on.
I suspect it's a question of whitespace in that the cpp translates
-------------8<----------
#ifdef FOO
{-# INCLUDE "bar.h" #-}
#endif
--------------------------
into
-------------8<----------
{-# INCLUDE "bar.h" #-}
--------------------------
...which gets ignored for similar reasons as to why it got ignored when
you put comments on top. I can't tell if (for some reason) it's
actually *supposed* to behave like that (pragmas must literally be at
the top, no whitespace!) or if it's a minor bug.
My google-skills fail me on this one. Would you be willing to follow up
on this with the GHC folks?
--
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon français.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070813/ad6370a6/attachment.pgp
More information about the darcs-devel
mailing list