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.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-3.0/GF/Command/Importing.hs b/src-3.0/GF/Command/Importing.hs
index 48f07969d..c3ad9d746 100644
--- a/src-3.0/GF/Command/Importing.hs
+++ b/src-3.0/GF/Command/Importing.hs
@@ -14,6 +14,7 @@ import System.FilePath
-- import a grammar in an environment where it extends an existing grammar
importGrammar :: PGF -> Options -> [FilePath] -> IO PGF
+importGrammar pgf0 _ [] = return pgf0
importGrammar pgf0 opts files =
case takeExtensions (last files) of
s | elem s [".gf",".gfo"] -> do