1
0
forked from GitHub/gf-core

merged gfc and gfi to one binary, and a shell script for gfc

This commit is contained in:
aarne
2007-11-12 09:17:02 +00:00
parent eb7b028601
commit b801149fbf
7 changed files with 115 additions and 150 deletions

View File

@@ -1,4 +1,5 @@
module Main where
module GF.Devel.GFC (mainGFC) where
-- module Main where
import GF.Devel.Compile
import GF.Devel.PrintGFCC
@@ -10,10 +11,8 @@ import GF.GFCC.ParGFCC
import GF.Devel.UseIO
import GF.Infra.Option
import System
main = do
xx <- getArgs
mainGFC :: [String] -> IO ()
mainGFC xx = do
let (opts,fs) = getOptions "-" xx
case opts of
_ | oElem (iOpt "help") opts -> putStrLn usageMsg