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

Comment(by igloo):

 Thanks Malcolm, quite right. I've attached a patch to fix this.

 However, the build breaks when compiling dph, as dph uses the Cabal auto-
 generated header files in Haskell files, which end up containing something
 like
 {{{
 /* DO NOT EDIT: This file is automatically generated by Cabal */
 /* package array-0.3.0.0 */
 /* package base-4.3.0.0 */
 /* package dph-base-0.4.0 */
 module Data.Array.Parallel.Lifted.Instances
 }}}
 They could be switched to use Haskell comments, but I don't know if being
 able to include them in C files is also important; Duncan?

 The fix to this will be easy, once we work out what the desired behaviour
 is...

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3389#comment:6>
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