Commit 8742ba8e authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add StandaloneDeriving extension

parent d1382994
......@@ -206,6 +206,9 @@ extensionsToGHCFlag v l
extensionToGHCFlag e@TypeFamilies
| v >= v6_7 = Right "-XTypeFamilies"
| otherwise = Left e
extensionToGHCFlag e@StandaloneDeriving
| v >= v6_7 = Right "-XStandaloneDeriving"
| otherwise = Left e
extensionToGHCFlag e@ExtensibleRecords = Left e
extensionToGHCFlag e@RestrictedTypeSynonyms = Left e
......
......@@ -91,4 +91,5 @@ data Extension
| HereDocuments
| MagicHash
| TypeFamilies
| StandaloneDeriving
deriving (Show, Read, Eq)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment