[GHC] #3389: CPP strips out C-style comments
GHC
cvs-ghc at haskell.org
Thu Jun 24 07:17:23 EDT 2010
#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 malcolm.wallace@…):
Perhaps one solution might be to have two different LANGUAGE pragmas for
CPP, to allow the file to choose its desired behaviour for the
preprocessor, e.g. CPP and CPPKeepCComments. (Or with the alternative
default choice, CPP and CPPStripCComments.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3389#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list