diff options
| author | bringert <bringert@cs.chalmers.se> | 2008-04-07 15:57:04 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2008-04-07 15:57:04 +0000 |
| commit | f439895ef9b008cf0e3e7224b0ee3f95215fee79 (patch) | |
| tree | bc1be6a66b56e9da45b8b58672695e01930bf136 /src/GF/Command/Commands.hs | |
| parent | 898c079d8444109e08ed2eed1e218d5f5ed427a6 (diff) | |
Added GF.GFCC.Macros.lookStartCat. Changed GF.GFCC:API to use it (before, startCat always returned "S"!). GFCCtoJS has not been changed, Moises will do that.
Diffstat (limited to 'src/GF/Command/Commands.hs')
| -rw-r--r-- | src/GF/Command/Commands.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Command/Commands.hs b/src/GF/Command/Commands.hs index 573b15eb1..d5b5a8768 100644 --- a/src/GF/Command/Commands.hs +++ b/src/GF/Command/Commands.hs @@ -141,7 +141,7 @@ allCommands mgr = Map.fromAscList [ optLangs opts = case valIdOpts "lang" "" opts of "" -> languages mgr lang -> [lang] - optCat opts = valIdOpts "cat" (lookAbsFlag gr (cid "startcat")) opts + optCat opts = valIdOpts "cat" (lookStartCat gr) opts optNum opts = valIntOpts "number" 1 opts optNumInf opts = valIntOpts "number" 1000000000 opts ---- 10^9 |
