From 92c76a626571fd2ccc50641595cbfec9681656dc Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 26 Sep 2008 09:20:39 +0000 Subject: Added --output-format=ebnf. --- src/GF/Compile/Export.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/GF/Compile') diff --git a/src/GF/Compile/Export.hs b/src/GF/Compile/Export.hs index d36fe2634..e89fbd033 100644 --- a/src/GF/Compile/Export.hs +++ b/src/GF/Compile/Export.hs @@ -14,6 +14,7 @@ import GF.Speech.SRGS_ABNF import GF.Speech.SRGS_XML import GF.Speech.JSGF import GF.Speech.GSL +import GF.Speech.SRG (ebnfPrinter) import GF.Speech.VoiceXML import GF.Speech.SLF import GF.Speech.PrRegExp @@ -37,6 +38,7 @@ exportPGF opts fmt pgf = FmtProlog -> multi "pl" grammar2prolog FmtProlog_Abs -> multi "pl" grammar2prolog_abs FmtBNF -> single "bnf" bnfPrinter + FmtEBNF -> single "ebnf" ebnfPrinter FmtNoLR -> single "bnf" nonLeftRecursivePrinter FmtRegular -> single "bnf" regularPrinter FmtFCFG -> single "fcfg" fcfgPrinter -- cgit v1.2.3