
#10230: multiline literals doesn't work with CPP extension. -------------------------------------+------------------------------------- Reporter: qnikst | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by rwbarton): * status: new => closed * resolution: => invalid Comment: If you use `-XCPP` then you are responsible for ensuring that the output of the C preprocessor is a valid Haskell program. Line continuations (`\` at the end of a line) are handled by the C preprocessor (so that you can define multi-line macros). See https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/options- phases.html#cpp-string-gaps. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10230#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler