summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-11-08 14:45:44 +0000
committerIan Lynagh <igloo@earth.li>2008-11-08 14:45:44 +0000
commit9c8ba01a0f1f2634eb9cece4fd7259b8134959a3 (patch)
treece4fe256684652fafb86df36b3ad96491e91877e /compiler/parser
parent4295eeecc91dad4b40b4e5c0e6167ab925d551c7 (diff)
downloadhaskell-9c8ba01a0f1f2634eb9cece4fd7259b8134959a3.tar.gz
Remove a CPP test that's always true (__GLASGOW_HASKELL__ >= 605)
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 952196af75..ed2f64ad37 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -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
]
-- -----------------------------------------------------------------------------