1
0
forked from GitHub/gf-core

Copy startcat flag to .gfo file.

This commit is contained in:
bjorn
2008-05-29 08:01:55 +00:00
parent 152c5698ce
commit d459573c80

View File

@@ -157,7 +157,8 @@ parseModuleOptions args
-- | Pretty-print the module options that are preserved in .gfo files.
moduleOptionsGFO :: ModuleOptions -> [(String,String)]
moduleOptionsGFO (ModuleOptions o) =
maybe [] (\l -> [("language",l)]) (optSpeechLanguage mfs)
maybe [] (\x -> [("language",x)]) (optSpeechLanguage mfs)
++ maybe [] (\x -> [("startcat",x)]) (optStartCat mfs)
where mfs = o defaultModuleFlags