Unicide OtherNumber category should be allowed in identifiers (#4373)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 15 Nov 2010 09:54:44 +0000 (09:54 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 15 Nov 2010 09:54:44 +0000 (09:54 +0000)
compiler/parser/Lexer.x

index 6b73981..1118215 100644 (file)
@@ -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