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

GHC trac at galois.com
Thu Aug 17 12:02:39 EDT 2006


#860: CPP fails when a macro is used on a line containing a single quote
character
------------------------------+---------------------------------------------
  Reporter:  ketil at ii.uib.no  |          Owner:         
      Type:  feature request  |         Status:  new    
  Priority:  lowest           |      Milestone:         
 Component:  Compiler         |        Version:  6.4.2  
  Severity:  minor            |     Resolution:         
  Keywords:  cpp quote prime  |             Os:  Unknown
Difficulty:  Unknown          |   Architecture:  Unknown
------------------------------+---------------------------------------------
Comment (by malcolm):

 Just to note that cpphs provides this functionality.  With the current
 darcs version of cpphs there is even a -cpp compatibility option, allowing
 you to use it as a drop-in replacement for cpp with ghc, e.g.
 {{{
   ghc -pgmPcpphs -optP-cpp
 }}}
 (if I recall ghc's option syntax correctly)

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


More information about the Glasgow-haskell-bugs mailing list