From 150940b8704a6a61ed08c6bbd99ba4b05a42c59c Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 30 May 2008 13:07:11 +0000 Subject: cleaned up and documented PGF API --- src-3.0/GF/Command/Importing.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-3.0/GF/Command/Importing.hs') 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 -- cgit v1.2.3