mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 17:22:51 -06:00
SRGS generation: don't include debug script stuff if debugging is disabled. Place category comments better.
This commit is contained in:
@@ -110,7 +110,7 @@ skel2vxml name language start skel qs =
|
||||
vxml language (prelude ++ [startForm] ++ concatMap (uncurry (catForms gr qs)) skel)
|
||||
where
|
||||
gr = grammarURI name
|
||||
prelude = (if debug then [var "debug" (Just "0")] else []) ++ scriptLib
|
||||
prelude = if debug then [var "debug" (Just "0")] ++ scriptLib else []
|
||||
startForm = Tag "form" [] [subdialog "sub" [("src", "#"++start)] []]
|
||||
|
||||
grammarURI :: String -> String
|
||||
|
||||
Reference in New Issue
Block a user