Commit f58fd1c7 authored by simonmar's avatar simonmar

[project @ 2002-09-09 12:11:44 by simonmar]

Make sure we get the compiler's own Pretty library when we #include
../utils/ghc-pkg/Package.hs.
parent 519a0b70
......@@ -12,6 +12,7 @@ module Packages ( PackageConfig(..),
where
#include "HsVersions.h"
import Pretty
import CmdLineOpts ( dynFlag, verbosity )
......@@ -22,7 +23,9 @@ import Outputable ( docToSDoc )
\begin{code}
#define WANT_PRETTY
-- Yes, do generate pretty-printing stuff for packages
#define INTERNAL_PRETTY
-- Yes, do generate pretty-printing stuff for packages, and use our
-- own Pretty library rather than Text.PrettyPrint
-- There's a blob of code shared with ghc-pkg,
-- so we just include it from there
......
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