projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf1f1f
)
[project @ 2006-01-12 09:33:16 by simonmar]
author
simonmar
<unknown>
Thu, 12 Jan 2006 09:33:16 +0000
(09:33 +0000)
committer
simonmar
<unknown>
Thu, 12 Jan 2006 09:33:16 +0000
(09:33 +0000)
put unicode keywords under -fglasgow-exts, they aren't Hasell98
ghc/compiler/parser/Lexer.x
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Lexer.x
b/ghc/compiler/parser/Lexer.x
index
27b6e2d
..
3846b5a
100644
(file)
--- a/
ghc/compiler/parser/Lexer.x
+++ b/
ghc/compiler/parser/Lexer.x
@@
-559,11
+559,11
@@
reservedSymsFM = listToUFM $
,(">>-", ITRarrowtail, bit arrowsBit)
#if __GLASGOW_HASKELL__ >= 605
- ,("λ", ITlam, 0)
- ,("∀", ITforall, bit tvBit)
- ,("→", ITrarrow, 0)
- ,("←", ITlarrow, 0)
- ,("⋯", ITdotdot, 0)
+ ,("λ", ITlam, bit glaExtsBit)
+ ,("∀", ITforall, bit glaExtsBit)
+ ,("→", ITrarrow, bit glaExtsBit)
+ ,("←", ITlarrow, bit glaExtsBit)
+ ,("⋯", ITdotdot, bit glaExtsBit)
#endif
]