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:
50609bd
)
Unicide OtherNumber category should be allowed in identifiers (#4373)
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 15 Nov 2010 09:54:44 +0000
(09:54 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 15 Nov 2010 09:54:44 +0000
(09:54 +0000)
compiler/parser/Lexer.x
patch
|
blob
|
history
diff --git
a/compiler/parser/Lexer.x
b/compiler/parser/Lexer.x
index
6b73981
..
1118215
100644
(file)
--- a/
compiler/parser/Lexer.x
+++ b/
compiler/parser/Lexer.x
@@
-1640,7
+1640,7
@@
alexGetChar (AI loc s)
EnclosingMark -> other_graphic
DecimalNumber -> digit
LetterNumber -> other_graphic
EnclosingMark -> other_graphic
DecimalNumber -> digit
LetterNumber -> other_graphic
- OtherNumber -> other_graphic
+ OtherNumber -> digit -- see #4373
ConnectorPunctuation -> symbol
DashPunctuation -> symbol
OpenPunctuation -> other_graphic
ConnectorPunctuation -> symbol
DashPunctuation -> symbol
OpenPunctuation -> other_graphic