X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FLexer.x;h=ed2f64ad37eb1a1574b87ee831aab58610c313b1;hp=952196af7560716ed9ea300e02d86b05b45eb5b6;hb=9c8ba01a0f1f2634eb9cece4fd7259b8134959a3;hpb=4295eeecc91dad4b40b4e5c0e6167ab925d551c7 diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 952196a..ed2f64a 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 ] -- -----------------------------------------------------------------------------