summaryrefslogtreecommitdiff
path: root/src-3.0/GF/Command/Importing.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src-3.0/GF/Command/Importing.hs')
-rw-r--r--src-3.0/GF/Command/Importing.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-3.0/GF/Command/Importing.hs b/src-3.0/GF/Command/Importing.hs
index d4eeb18ce..48f07969d 100644
--- a/src-3.0/GF/Command/Importing.hs
+++ b/src-3.0/GF/Command/Importing.hs
@@ -23,7 +23,7 @@ importGrammar pgf0 opts files =
Bad msg -> do putStrLn msg
return pgf0
".pgf" -> do
- pgf2 <- mapM file2pgf files >>= return . foldl1 unionPGF
+ pgf2 <- mapM readPGF files >>= return . foldl1 unionPGF
return $ unionPGF pgf0 pgf2
importSource :: SourceGrammar -> Options -> [FilePath] -> IO SourceGrammar