1
0
forked from GitHub/gf-core

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.

This commit is contained in:
bringert
2008-04-07 15:57:04 +00:00
parent 898c079d84
commit f439895ef9
3 changed files with 8 additions and 2 deletions

View File

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