Supporting GHC7 (Krzysztof Skrzętnicki).
This commit is contained in:
6
Lang.hs
6
Lang.hs
@@ -1,7 +1,13 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
|
||||
module Lang where
|
||||
|
||||
import DynFlags
|
||||
import Types
|
||||
|
||||
listLanguages :: Options -> IO String
|
||||
#if __GLASGOW_HASKELL__ >= 700
|
||||
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions
|
||||
#else
|
||||
listLanguages opt = return $ convert opt supportedLanguages
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user