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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user