diff options
Diffstat (limited to 'src/compiler/GF/Command/Commands.hs')
| -rw-r--r-- | src/compiler/GF/Command/Commands.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs index b56c19d72..1d3ccd833 100644 --- a/src/compiler/GF/Command/Commands.hs +++ b/src/compiler/GF/Command/Commands.hs @@ -255,7 +255,8 @@ allCommands cod env@(pgf, mos) = Map.fromList [ let file = optFile opts mprobs <- optProbs opts pgf let conf = configureExBased pgf (optMorpho opts) mprobs (optLang opts) - file' <- parseExamplesInGrammar conf file + (file',ws) <- parseExamplesInGrammar conf file + if null ws then return () else putStrLn ("unknown words: " ++ unwords ws) return (fromString ("wrote " ++ file')), needsTypeCheck = False }), |
