diff options
Diffstat (limited to 'src/compiler/GF/Infra/Option.hs')
| -rw-r--r-- | src/compiler/GF/Infra/Option.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/GF/Infra/Option.hs b/src/compiler/GF/Infra/Option.hs index fa0e91980..bd65db2f6 100644 --- a/src/compiler/GF/Infra/Option.hs +++ b/src/compiler/GF/Infra/Option.hs @@ -87,6 +87,7 @@ data Phase = Preproc | Convert | Compile | Link deriving (Show,Eq,Ord) data OutputFormat = FmtPGFPretty + | FmtCanonicalGF | FmtJavaScript | FmtPython | FmtHaskell @@ -468,6 +469,7 @@ outputFormats = map fst outputFormatsExpl outputFormatsExpl :: [((String,OutputFormat),String)] outputFormatsExpl = [(("pgf_pretty", FmtPGFPretty),"human-readable pgf"), + (("canonical_gf", FmtCanonicalGF),"Canonical GF source files"), (("js", FmtJavaScript),"JavaScript (whole grammar)"), (("python", FmtPython),"Python (whole grammar)"), (("haskell", FmtHaskell),"Haskell (abstract syntax)"), |
