diff options
| author | aarne <unknown> | 2004-06-16 14:49:50 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2004-06-16 14:49:50 +0000 |
| commit | a77519ba1045d23a7bb8ea1c56cc90518e9fedb9 (patch) | |
| tree | 68d72eb77950cf179e8a23ca749a9909b1f2d457 /src/GF/Infra | |
| parent | 9fae09a77c1f31468129a47cb79156d55f5f2939 (diff) | |
bug fixes ; command so ; reintroduce batch mode
Diffstat (limited to 'src/GF/Infra')
| -rw-r--r-- | src/GF/Infra/Modules.hs | 3 | ||||
| -rw-r--r-- | src/GF/Infra/Option.hs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/GF/Infra/Modules.hs b/src/GF/Infra/Modules.hs index b43eb7b4d..8272635f7 100644 --- a/src/GF/Infra/Modules.hs +++ b/src/GF/Infra/Modules.hs @@ -244,6 +244,9 @@ lookupModMod gr i = do lookupInfo :: (Show i, Ord i) => Module i f a -> i -> Err a lookupInfo mo i = lookupTree show i (jments mo) +allModMod :: (Show i,Eq i) => MGrammar i f a -> [(i,Module i f a)] +allModMod gr = [(i,m) | (i, ModMod m) <- modules gr] + isModAbs m = case mtype m of MTAbstract -> True ---- MTUnion t -> isModAbs t diff --git a/src/GF/Infra/Option.hs b/src/GF/Infra/Option.hs index c04d40244..dcfbc3b17 100644 --- a/src/GF/Infra/Option.hs +++ b/src/GF/Infra/Option.hs @@ -148,6 +148,9 @@ beVerbose = iOpt "v" showInfo = iOpt "i" beSilent = iOpt "s" emitCode = iOpt "o" +getHelp = iOpt "help" +doMake = iOpt "make" +doBatch = iOpt "batch" notEmitCode = iOpt "noemit" makeMulti = iOpt "multi" beShort = iOpt "short" |
