From 479cc24837aa2c14c3bbed323bb640a5c53a2522 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 25 Jan 2006 13:55:01 +0000 Subject: [PATCH] add double colon and double arrow symbols (-fglasgow-exts) --- ghc/compiler/parser/Lexer.x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/compiler/parser/Lexer.x b/ghc/compiler/parser/Lexer.x index 3846b5a..3d5ebd3 100644 --- a/ghc/compiler/parser/Lexer.x +++ b/ghc/compiler/parser/Lexer.x @@ -560,6 +560,8 @@ reservedSymsFM = listToUFM $ #if __GLASGOW_HASKELL__ >= 605 ,("λ", ITlam, bit glaExtsBit) + ,("∷", ITdcolon, bit glaExtsBit) + ,("⇒", ITdarrow, bit glaExtsBit) ,("∀", ITforall, bit glaExtsBit) ,("→", ITrarrow, bit glaExtsBit) ,("←", ITlarrow, bit glaExtsBit) -- 1.7.10.4