export SrcSpan & utils from GHC
authorSimon Marlow <simonmar@microsoft.com>
Fri, 20 Apr 2007 10:25:11 +0000 (10:25 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 20 Apr 2007 10:25:11 +0000 (10:25 +0000)
compiler/main/GHC.hs

index f35c7fd..4f181b2 100644 (file)
@@ -164,6 +164,14 @@ module GHC (
 
        -- ** Source locations
        SrcLoc, pprDefnLoc,
+        mkSrcLoc, isGoodSrcLoc,
+       srcLocFile, srcLocLine, srcLocCol,
+        SrcSpan,
+        mkSrcSpan, srcLocSpan,
+        srcSpanStart, srcSpanEnd,
+       srcSpanFile, 
+        srcSpanStartLine, srcSpanEndLine, 
+        srcSpanStartCol, srcSpanEndCol,
 
        -- * Exceptions
        GhcException(..), showGhcException,