Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
0c167905
Commit
0c167905
authored
Mar 07, 2005
by
simonmar
Browse files
[project @ 2005-03-07 13:18:51 by simonmar]
Mention not to use comments on the same line as OPTIONS_GHC
parent
9942fd14
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/docs/users_guide/using.xml
View file @
0c167905
...
...
@@ -64,9 +64,12 @@ module X where
the top of your source files, upto the first
(non-literate,non-empty) line not containing
<literal>
OPTIONS_GHC
</literal>
. Multiple
<literal>
OPTIONS_GHC
</literal>
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
<literal>
OPTIONS_GHC
</literal>
pragma.
</para>
<para>
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
<literal>
OPTIONS_GHC
</literal>
.
</para>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment