[project @ 2001-01-18 12:54:16 by simonmar]
authorsimonmar <unknown>
Thu, 18 Jan 2001 12:54:17 +0000 (12:54 +0000)
committersimonmar <unknown>
Thu, 18 Jan 2001 12:54:17 +0000 (12:54 +0000)
commit0ef29fb878dd6517d2716afb056bcf2536c2562e
treebc0c0214e0d9e4e5a799b5f16a0158b323ccf32b
parentfb2442c0498868330476f5fdde46339eab68e72d
[project @ 2001-01-18 12:54:16 by simonmar]
Make the GHCi command line behave as if an "import qualified M" was in
force for all M.

The renamer now has a new "mode": CmdLineMode, which changes the
lookup machinery to turn a qualified lookup into an original name
lookup if the qualified name isn't otherwise in scope.
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/rename/Rename.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnExpr.lhs
ghc/compiler/rename/RnMonad.lhs