Changed nolr printer to use EBNF format.

This commit is contained in:
bjorn
2008-09-26 10:03:42 +00:00
parent a372357adc
commit 7a81b559fe
3 changed files with 7 additions and 6 deletions

View File

@@ -14,7 +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.SRG (ebnfPrinter, nonLeftRecursivePrinter)
import GF.Speech.VoiceXML
import GF.Speech.SLF
import GF.Speech.PrRegExp
@@ -39,7 +39,7 @@ exportPGF opts fmt pgf =
FmtProlog_Abs -> multi "pl" grammar2prolog_abs
FmtBNF -> single "bnf" bnfPrinter
FmtEBNF -> single "ebnf" ebnfPrinter
FmtNoLR -> single "bnf" nonLeftRecursivePrinter
FmtNoLR -> single "ebnf" nonLeftRecursivePrinter
FmtRegular -> single "bnf" regularPrinter
FmtFCFG -> single "fcfg" fcfgPrinter
FmtSRGS_XML -> single "grxml" (srgsXmlPrinter sisr)