projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588bd80
)
[project @ 1997-08-18 23:57:32 by sof]
author
sof
<unknown>
Mon, 18 Aug 1997 23:57:32 +0000
(23:57 +0000)
committer
sof
<unknown>
Mon, 18 Aug 1997 23:57:32 +0000
(23:57 +0000)
-cpp fix
ghc/driver/ghc.lprl
patch
|
blob
|
history
diff --git
a/ghc/driver/ghc.lprl
b/ghc/driver/ghc.lprl
index
f2494f4
..
5b05358
100644
(file)
--- a/
ghc/driver/ghc.lprl
+++ b/
ghc/driver/ghc.lprl
@@
-1706,7
+1706,7
@@
sub runLit2pgm {
local($to_do) = "";
# Only add #line pragma if we're going to need it.
- $to_do = "echo '#line 1 \"$in_lit2pgm\"' > $lit2pgm_hscpp && " if ($HsCpp ne $Cat);
+ $to_do = "echo '#line 1 \"$in_lit2pgm\"' > $lit2pgm_hscpp && " if ($Cpp_flag_set);
$to_do .= "$Unlit @Unlit_flags $in_lit2pgm - >> $lit2pgm_hscpp";
@Files_to_tidy = ( $lit2pgm_hscpp );