summaryrefslogtreecommitdiff
path: root/src/GF/Speech/PrJSGF.hs
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2006-04-18 12:42:20 +0000
committerbringert <bringert@cs.chalmers.se>2006-04-18 12:42:20 +0000
commita663a046edf310247cf1e82761c79397d9bd42ad (patch)
tree16eca208e65faad7dc34db9fc35e9b2734721fa1 /src/GF/Speech/PrJSGF.hs
parent5ccf994499a215480bebecc31411db0217debb93 (diff)
Look at both command-line and grammar startcat falgs in pg commands.
Diffstat (limited to 'src/GF/Speech/PrJSGF.hs')
-rw-r--r--src/GF/Speech/PrJSGF.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GF/Speech/PrJSGF.hs b/src/GF/Speech/PrJSGF.hs
index 56f5eda1b..2a4c4fd51 100644
--- a/src/GF/Speech/PrJSGF.hs
+++ b/src/GF/Speech/PrJSGF.hs
@@ -30,9 +30,10 @@ import GF.Probabilistic.Probabilistic (Probs)
import GF.Speech.SRG
jsgfPrinter :: Ident -- ^ Grammar name
- -> Options -> Maybe Probs -> CGrammar -> String
-jsgfPrinter name opts probs cfg = prJSGF srg ""
- where srg = makeSimpleSRG name opts probs cfg
+ -> String -- ^ Start category
+ -> Options -> Maybe Probs -> CGrammar -> String
+jsgfPrinter name start opts probs cfg = prJSGF srg ""
+ where srg = makeSimpleSRG name start opts probs cfg
prJSGF :: SRG -> ShowS
prJSGF (SRG{grammarName=name,startCat=start,origStartCat=origStart,rules=rs})