From 391b301881bee7de9580f2c6d819144161e6a51d Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 21 Oct 2014 19:20:31 +0000 Subject: ModuleName and Ident are now distinct types This makes the documentation clearer, and can potentially catch more programming mistakes. --- src/compiler/GF/CompileInParallel.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/CompileInParallel.hs') diff --git a/src/compiler/GF/CompileInParallel.hs b/src/compiler/GF/CompileInParallel.hs index 53f68c3a4..c8c25c8dc 100644 --- a/src/compiler/GF/CompileInParallel.hs +++ b/src/compiler/GF/CompileInParallel.hs @@ -15,7 +15,7 @@ import GF.Infra.Option import GF.Infra.UseIO import GF.Data.Operations import GF.Grammar.Grammar(emptyGrammar,prependModule) -import GF.Infra.Ident(identS) +import GF.Infra.Ident(moduleNameS) import GF.Text.Pretty import qualified Data.ByteString.Lazy as BS @@ -137,7 +137,7 @@ batchCompile1 lib_dir (opts,filepaths) = cache <- liftIO $ newIOCache compile' ts <- liftIO $ parMapM (compile cache) filepaths gr <- readMVar sgr - let cnc = identS (justModuleName (fst (last filepaths))) + let cnc = moduleNameS (justModuleName (fst (last filepaths))) ds <- M.toList <$> readMVar deps {- liftIO $ writeFile (maybe "" id gfoDir"dependencies") -- cgit v1.2.3