Commit ab96f60d authored by simonmar's avatar simonmar
Browse files

[project @ 2002-02-13 12:17:48 by simonmar]

Add {-# OPTIONS -fno-implicit-prelude #-} to the top of GHC/PrimopWrappers.hs
parent aa0db183
......@@ -249,7 +249,10 @@ gen_latex_doc (Info defaults entries)
latex_encode (c:cs) = c:(latex_encode cs)
gen_wrappers (Info defaults entries)
= "module GHC.PrimopWrappers where\n"
= "{-# OPTIONS -fno-implicit-prelude #-}\n"
-- Dependencies on Prelude must be explicit in libraries/base, but we
-- don't need the Prelude here so we add -fno-implicit-prelude.
++ "module GHC.PrimopWrappers where\n"
++ "import qualified GHC.Prim\n"
++ unlines (map f (filter (not.dodgy) (filter is_primop entries)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment