add double colon and double arrow symbols (-fglasgow-exts)
authorSimon Marlow <simonmar@microsoft.com>
Wed, 25 Jan 2006 13:55:01 +0000 (13:55 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 25 Jan 2006 13:55:01 +0000 (13:55 +0000)
ghc/compiler/parser/Lexer.x

index 3846b5a..3d5ebd3 100644 (file)
@@ -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)