Copy startcat flag to .gfo file.

This commit is contained in:
bjorn
2008-05-29 08:01:55 +00:00
parent d55f529a6e
commit 972df6996f

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