#3389: CPP strips out C-style comments
------------------------------+---------------------------------------------
  Reporter:  nominolo         |          Owner:  igloo           
      Type:  feature request  |         Status:  closed          
  Priority:  normal           |      Milestone:  6.14.1          
 Component:  Driver           |        Version:  6.10.2          
Resolution:  wontfix          |       Keywords:                  
Difficulty:  Unknown          |             Os:  Unknown/Multiple
  Testcase:  T3389            |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * testcase:  => T3389
  * resolution:  => wontfix


Comment:

 I think the default will have to stay as it is (i.e. stripping C
 comments).

 You can use
 {{{
 {-# LANGUAGE CPP #-}
 {-# OPTIONS_GHC -optP -C #-}
 }}}
 if you know you want comments to be kept.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3389#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to