forked from GitHub/gf-core
use putStrLn instead of print to dump error messages. This avoids the double quotes
This commit is contained in:
@@ -20,7 +20,7 @@ importGrammar mgr0 opts files =
|
|||||||
case res of
|
case res of
|
||||||
Ok gfcc2 -> do let gfcc3 = unionGFCC (gfcc mgr0) gfcc2
|
Ok gfcc2 -> do let gfcc3 = unionGFCC (gfcc mgr0) gfcc2
|
||||||
return $ MultiGrammar gfcc3
|
return $ MultiGrammar gfcc3
|
||||||
Bad msg -> do print msg
|
Bad msg -> do putStrLn msg
|
||||||
return mgr0
|
return mgr0
|
||||||
".gfcc" -> do
|
".gfcc" -> do
|
||||||
gfcc2 <- mapM file2gfcc files >>= return . foldl1 unionGFCC
|
gfcc2 <- mapM file2gfcc files >>= return . foldl1 unionGFCC
|
||||||
|
|||||||
Reference in New Issue
Block a user