[GHC] #4373: Lexer does not handle unicode numeric subscripts
GHC
cvs-ghc at haskell.org
Thu Oct 7 04:33:24 EDT 2010
#4373: Lexer does not handle unicode numeric subscripts
-------------------------------------+--------------------------------------
Reporter: liamoc | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version:
Keywords: lexer, unicode, tiny | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: GHC rejects valid program
-------------------------------------+--------------------------------------
Comment(by simonmar):
The change you suggest sounds reasonable. You want to make these legal
characters in an identifier, but not legal in a numeric constant, which is
exactly what happens if you categorise them as "digit". Numeric constants
are already restricted to only contain decimal digits. Could you make a
patch and attach it to this ticket?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4373#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list