Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
d121c0cf
Commit
d121c0cf
authored
Jan 29, 2005
by
ross
Browse files
[project @ 2005-01-29 12:15:33 by ross]
Oops, misspelled OPTIONS_GHC
parent
134854fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/utils/hsc2hs/Main.hs
View file @
d121c0cf
{-# OPTIONS -fffi -cpp #-}
------------------------------------------------------------------------
-- $Id: Main.hs,v 1.7
0
2005/01/2
8
1
6:28:56
ross Exp $
-- $Id: Main.hs,v 1.7
1
2005/01/2
9
1
2:15:33
ross Exp $
--
-- Program for converting .hsc files to .hs files, by converting the
-- file into a C program which is run to generate the Haskell source.
...
...
@@ -724,7 +724,7 @@ outHeaderHs flags inH toks =
" printf (
\"
{-# OPTIONS %s #-}
\\
n
\"
,
\"
"
++
showCString
s
++
"
\"
);
\n
"
++
"#else
\n
"
++
" printf (
\"
{-#
GHC_
OPTIONS %s #-}
\\
n
\"
,
\"
"
++
" printf (
\"
{-# OPTIONS
_GHC
%s #-}
\\
n
\"
,
\"
"
++
showCString
s
++
"
\"
);
\n
"
++
"#endif
\n
"
outInclude
s
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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