Improve hierarchical module name handling in MkExternalCore
authorTim Chevalier <chevalier@alum.wellesley.edu>
Wed, 19 Mar 2008 19:04:29 +0000 (19:04 +0000)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Wed, 19 Mar 2008 19:04:29 +0000 (19:04 +0000)
commit87c93cf56c83abf0148c91d5972dbe65dc72c38a
tree2edea5dbec1df092b17a27bfece79ebcd1065d84
parentd5a9ee0e98a76bca1b41bbc5252e851c88b3ff4c
Improve hierarchical module name handling in MkExternalCore

It's easier for the External Core parser if MkExternalCore prints
module names like:
   base:GHCziBase
rather than like:
   base:GHC.Base
(which it was doing before.)

So now we z-encode the hierarchical module-name part of a module
name, but don't z-encode the ':'.

I also removed some old comments that don't seem relevant anymore.
compiler/coreSyn/MkExternalCore.lhs