Supporting GHC7 (Krzysztof Skrzętnicki).
This commit is contained in:
parent
11f1341fe5
commit
71ebb82eb2
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
|
||||
|
Loading…
Reference in New Issue
Block a user