Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI.

This commit is contained in:
bjorn
2008-05-30 15:20:28 +00:00
parent bec9d06fae
commit aa010a84bd
3 changed files with 33 additions and 29 deletions

View File

@@ -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