diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2020-08-11 14:20:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-11 14:20:28 +0200 |
| commit | 542a41fb32c7b70066816854921354bbafb63539 (patch) | |
| tree | 09fe88d888e8e4f06c9fbbd21a22e813dbd56ede /src/compiler/GF/Infra | |
| parent | deddde953f9e9b71e35a80bb29af0ce81e1dc6d0 (diff) | |
| parent | 7c478016d0ca57753323e45b77505fc839b170f8 (diff) | |
Merge pull request #70 from inariksit/haskell
New features in PGF to Haskell translation
Diffstat (limited to 'src/compiler/GF/Infra')
| -rw-r--r-- | src/compiler/GF/Infra/Option.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/GF/Infra/Option.hs b/src/compiler/GF/Infra/Option.hs index c4108cbe3..afcd6f705 100644 --- a/src/compiler/GF/Infra/Option.hs +++ b/src/compiler/GF/Infra/Option.hs @@ -131,7 +131,7 @@ data CFGTransform = CFGNoLR deriving (Show,Eq,Ord) data HaskellOption = HaskellNoPrefix | HaskellGADT | HaskellLexical - | HaskellConcrete | HaskellVariants + | HaskellConcrete | HaskellVariants | HaskellData deriving (Show,Eq,Ord) data Warning = WarnMissingLincat @@ -530,7 +530,8 @@ haskellOptionNames = ("gadt", HaskellGADT), ("lexical", HaskellLexical), ("concrete", HaskellConcrete), - ("variants", HaskellVariants)] + ("variants", HaskellVariants), + ("data", HaskellData)] -- | This is for bacward compatibility. Since GHC 6.12 we -- started using the native Unicode support in GHC but it |
