#4073: Error with '#' at beginning of line in literate Haskell
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.1
Keywords: | Difficulty:
Os: Linux | Testcase:
Architecture: x86 | Failure: None/Unknown
-------------------------+--------------------------------------------------
Comment(by simonmar):
GHC's unlit preprocessor leaves lines beginning with '#' in the output, so
that you can use CPP directives in literate comments. It has always done
that.
Arguably CPP should be run before unlit. I don't think I have a strong
opinion, but it's entirely possible that would lead to some unforseen
consequences; someone would need to try it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4073#comment:1>
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