From 2f89962c442ba6c9d82d19e8e184a136c1f58bc9 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 30 May 2008 15:20:28 +0000 Subject: Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI. --- src-3.0/GF/Command/Importing.hs | 1 + 1 file changed, 1 insertion(+) (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 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 -- cgit v1.2.3