Re: [GHC] #4836: literate markdown not handled correctly by unlit

#4836: literate markdown not handled correctly by unlit ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: bug | Status: new Priority: low | Milestone: 7.6.2 Component: Compiler | Version: 7.0.1 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: GHC rejects valid program Difficulty: | Testcase: Blockedby: | Blocking: Related: #7120 | ---------------------------------+------------------------------------------ Changes (by elliottt): * cc: trevor@… (added) Comment: I've implemented markdown processing in a branch, and just discovered this ticket. Is there a reason that CPP is preserved in the comment part of a literate file? Shouldn't it be that CPP is only preserved when it shows up in either a birdtrack or \begin{code} ... \end{code} block? Preserving it in the comment portion of a literate program seems akin to processing CPP that is in the comments of a non-literate file; I would normally expect commented-out CPP to not be run. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4836#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC