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:
6e0ec24
)
[project @ 2000-11-21 15:41:10 by sewardj]
author
sewardj
<unknown>
Tue, 21 Nov 2000 15:41:10 +0000
(15:41 +0000)
committer
sewardj
<unknown>
Tue, 21 Nov 2000 15:41:10 +0000
(15:41 +0000)
Add dummy import dependency to CgExpr so that booting in batch mode works.
ghc/compiler/codeGen/CodeGen.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/codeGen/CodeGen.lhs
b/ghc/compiler/codeGen/CodeGen.lhs
index
462f0ff
..
2390765
100644
(file)
--- a/
ghc/compiler/codeGen/CodeGen.lhs
+++ b/
ghc/compiler/codeGen/CodeGen.lhs
@@
-19,6
+19,11
@@
module CodeGen ( codeGen ) where
#include "HsVersions.h"
+-- Kludge (??) so that CgExpr is reached via at least one non-SOURCE
+-- import. Before, that wasn't the case, and CM therefore didn't
+-- bother to compile it.
+import CgExpr ( {-NOTHING!-} ) -- DO NOT DELETE THIS IMPORT
+
import StgSyn
import CgMonad
import AbsCSyn