From 7a91afc02a0a245bf9fea248e61421a75c22137d Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 28 Jul 2014 11:58:00 +0000 Subject: Convert from Text.PrettyPrint to GF.Text.Pretty All compiler modules now use GF.Text.Pretty instead of Text.PrettyPrint --- src/compiler/GF/Compile/ReadFiles.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler/GF/Compile/ReadFiles.hs') diff --git a/src/compiler/GF/Compile/ReadFiles.hs b/src/compiler/GF/Compile/ReadFiles.hs index 02bc4452d..9bc36f0b5 100644 --- a/src/compiler/GF/Compile/ReadFiles.hs +++ b/src/compiler/GF/Compile/ReadFiles.hs @@ -46,7 +46,7 @@ import qualified Data.Map as Map import Data.Time(UTCTime) import GF.System.Directory import System.FilePath -import Text.PrettyPrint +import GF.Text.Pretty type ModName = String type ModEnv = Map.Map ModName (UTCTime,[ModName]) @@ -105,8 +105,8 @@ getAllFiles opts ps env file = do case mb_gfoFile of Just gfoFile -> do gfoTime <- modtime gfoFile return (gfoFile, Nothing, Just gfoTime) - Nothing -> raise (render (text "File" <+> text (gfFile name) <+> text "does not exist." $$ - text "searched in:" <+> vcat (map text ps))) + Nothing -> raise (render ("File" <+> gfFile name <+> "does not exist." $$ + "searched in:" <+> vcat ps)) let mb_envmod = Map.lookup name env -- cgit v1.2.3