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.

Attachment: pgphekH1W6m06.pgp
Description: PGP signature

_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to