I'm using GHC 6.6.1.  The manual says:

"Pragmas all take the form {-# word ... #-} where word indicates the type of pragma, and is followed optionally by information specific to that type of pragma. Case is ignored in word."

However, when I use "Language CPP" instead of "LANGUAGE CPP" in the pragma, the pragma is ignored. Is this a documentation bug?

To test the problem, one can use "ghc --make testpragma1.hs" and "ghc --make testpragma2.hs" on the following:

Attachment: testpragma1.hs
Description: Binary data

Attachment: testpragma2.hs
Description: Binary data


--
Robin Bate Boerop



_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to