Skip to content

Commit

Permalink
Add MHS as a recognized compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
augustss committed Apr 9, 2024
1 parent d7147fc commit f2008ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cabal-syntax/src/Distribution/Compiler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ data CompilerFlavor
| LHC
| UHC
| Eta
| MHS
| HaskellSuite String -- string is the id of the actual compiler
| OtherCompiler String
deriving (Generic, Show, Read, Eq, Ord, Typeable, Data)
Expand All @@ -85,7 +86,7 @@ instance NFData CompilerFlavor where rnf = genericRnf

knownCompilerFlavors :: [CompilerFlavor]
knownCompilerFlavors =
[GHC, GHCJS, NHC, YHC, Hugs, HBC, Helium, JHC, LHC, UHC, Eta]
[GHC, GHCJS, NHC, YHC, Hugs, HBC, Helium, JHC, LHC, UHC, Eta, MHS]

instance Pretty CompilerFlavor where
pretty (OtherCompiler name) = Disp.text name
Expand Down

0 comments on commit f2008ef

Please sign in to comment.