Remove a CPP test that's always true (__GLASGOW_HASKELL__ >= 605)
authorIan Lynagh <igloo@earth.li>
Sat, 8 Nov 2008 14:45:44 +0000 (14:45 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 8 Nov 2008 14:45:44 +0000 (14:45 +0000)
compiler/parser/Lexer.x

index 952196a..ed2f64a 100644 (file)
@@ -709,7 +709,6 @@ reservedSymsFM = listToUFM $
        ,("-<<", ITLarrowtail, arrowsEnabled)
        ,(">>-", ITRarrowtail, arrowsEnabled)
 
-#if __GLASGOW_HASKELL__ >= 605
        ,("∷",   ITdcolon, unicodeSyntaxEnabled)
        ,("⇒",   ITdarrow, unicodeSyntaxEnabled)
        ,("∀",   ITforall, \i -> unicodeSyntaxEnabled i &&
@@ -720,7 +719,6 @@ reservedSymsFM = listToUFM $
         -- ToDo: ideally, → and ∷ should be "specials", so that they cannot
         -- form part of a large operator.  This would let us have a better
         -- syntax for kinds: ɑ∷*→* would be a legal kind signature. (maybe).
-#endif
        ]
 
 -- -----------------------------------------------------------------------------