[GHC] #8524: GHC is inconsistent with the Haskell Report on which Unicode characters are allowed in string and character literals

GHC ghc-devs at haskell.org
Mon Mar 23 04:55:25 UTC 2015


#8524: GHC is inconsistent with the Haskell Report on which Unicode characters are
allowed in string and character literals
-------------------------------------+-------------------------------------
        Reporter:  oerjan            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.6.3
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * keywords:   => newcomer
 * priority:  normal => low


Comment:

 We should probably follow the report here. Shouldn't be too difficult.

 The file to change is `compiler/parser/Lexer.x`. Look at the functions
 `lex_string` and `lex_stringgap`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8524#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list