#3389: CPP strips out C-style comments
------------------------------+---------------------------------------------
 Reporter:  nominolo          |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:                  
Component:  Driver            |        Version:  6.10.2          
 Severity:  normal            |     Resolution:                  
 Keywords:                    |       Testcase:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by malcolm.wall...@cs.york.ac.uk):

 Stripping C comments is part of the normal tokenisation behaviour of CPP.
 There are no options to gcc to turn it off.  See for instance
 http://gcc.gnu.org/onlinedocs/gcc-2.95.3/cpp_1.html#SEC2

 If you want to avoid C-tokenisation but still use CPP with Haskell, try
 cpphs instead.

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

Reply via email to