summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-11-15 09:54:44 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-11-15 09:54:44 +0000
commit82a769cba9297d362b5e5ce2d1983e37b6057873 (patch)
treea6e2a53f28b1d450e8aec840bc87269c65ffaa40 /compiler/parser
parent50609bd7584ee3fdcb3db820cb81e574f0523010 (diff)
downloadhaskell-82a769cba9297d362b5e5ce2d1983e37b6057873.tar.gz
Unicide OtherNumber category should be allowed in identifiers (#4373)
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Lexer.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 6b73981350..111821594d 100644
--- 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
- OtherNumber -> other_graphic
+ OtherNumber -> digit -- see #4373
ConnectorPunctuation -> symbol
DashPunctuation -> symbol
OpenPunctuation -> other_graphic