From: simonmar Date: Mon, 7 Mar 2005 13:18:51 +0000 (+0000) Subject: [project @ 2005-03-07 13:18:51 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~966 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=0c167905094aa4512274caf8910fcbc037e9040e [project @ 2005-03-07 13:18:51 by simonmar] Mention not to use comments on the same line as OPTIONS_GHC --- diff --git a/ghc/docs/users_guide/using.xml b/ghc/docs/users_guide/using.xml index e1a5ab7..80b8790 100644 --- a/ghc/docs/users_guide/using.xml +++ b/ghc/docs/users_guide/using.xml @@ -64,9 +64,12 @@ module X where the top of your source files, upto the first (non-literate,non-empty) line not containing OPTIONS_GHC. Multiple OPTIONS_GHC - pragmas are recognised. Note that your command shell does not + pragmas are recognised. Do not put comments before, or on the same line + as, the OPTIONS_GHC pragma. + + Note that your command shell does not get to the source file options, they are just included literally - in the array of command-line arguments the compiler driver + in the array of command-line arguments the compiler maintains internally, so you'll be desperately disappointed if you try to glob etc. inside OPTIONS_GHC.