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
|
module Lang where
|
||||||
|
|
||||||
import DynFlags
|
import DynFlags
|
||||||
import Types
|
import Types
|
||||||
|
|
||||||
listLanguages :: Options -> IO String
|
listLanguages :: Options -> IO String
|
||||||
|
#if __GLASGOW_HASKELL__ >= 700
|
||||||
|
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions
|
||||||
|
#else
|
||||||
listLanguages opt = return $ convert opt supportedLanguages
|
listLanguages opt = return $ convert opt supportedLanguages
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user