From 5c2ce87cde2dee9f6af65ed5e63ee7d9f072f399 Mon Sep 17 00:00:00 2001 From: krasimir Date: Sat, 7 Feb 2009 23:31:22 +0000 Subject: PMCFG pretty printer --- src/GF/Infra/Option.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/GF/Infra') diff --git a/src/GF/Infra/Option.hs b/src/GF/Infra/Option.hs index 4bc78d2a5..e02130ff3 100644 --- a/src/GF/Infra/Option.hs +++ b/src/GF/Infra/Option.hs @@ -16,7 +16,7 @@ module GF.Infra.Option modifyFlags, helpMessage, -- * Checking specific options - flag, cfgTransform, haskellOption, + flag, cfgTransform, haskellOption, readOutputFormat, isLexicalCat, -- * Setting specific options setOptimization, setCFGTransform, @@ -81,6 +81,7 @@ data Encoding = UTF_8 | ISO_8859_1 | CP_1251 deriving (Eq,Ord) data OutputFormat = FmtPGFPretty + | FmtPMCFGPretty | FmtJavaScript | FmtHaskell | FmtProlog @@ -427,7 +428,8 @@ optDescr = outputFormats :: [(String,OutputFormat)] outputFormats = - [("pgf-pretty", FmtPGFPretty), + [("pgf_pretty", FmtPGFPretty), + ("pmcfg_pretty", FmtPMCFGPretty), ("js", FmtJavaScript), ("haskell", FmtHaskell), ("prolog", FmtProlog), -- cgit v1.2.3