summaryrefslogtreecommitdiff
path: root/src-3.0/GF/Command/Importing.hs
diff options
context:
space:
mode:
authorbjorn <bjorn@bringert.net>2008-05-30 15:20:28 +0000
committerbjorn <bjorn@bringert.net>2008-05-30 15:20:28 +0000
commit2f89962c442ba6c9d82d19e8e184a136c1f58bc9 (patch)
treed09a91103775276a2e98cbf09036d5552e279a96 /src-3.0/GF/Command/Importing.hs
parent54ebdab1f730ef7b0d5de9faefbfaac6b7f3bd4b (diff)
Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI.
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