[GHC] #860: CPP fails when a macro is used on a line containing a single quote character

GHC ghc-devs at haskell.org
Sun Jul 31 05:58:31 UTC 2016


#860: CPP fails when a macro is used on a line containing a single quote
character
-------------------------------------+-------------------------------------
        Reporter:  ketil@…           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  lowest            |            Milestone:  ⊥
       Component:  Compiler          |              Version:  6.4.2
      Resolution:                    |             Keywords:  cpp quote
                                     |  prime
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by andreas.abel):

 > There are other gotchas with CPP (e.g. the backslash-at-the-end-of-the-
 line thing).

 See, for instance, ticket:12391

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


More information about the ghc-tickets mailing list