[GHC] #8424: quasi-quotes have carriage returns on Windows
GHC
ghc-devs at haskell.org
Tue Nov 18 22:19:28 UTC 2014
#8424: quasi-quotes have carriage returns on Windows
-------------------------------------+-------------------------------------
Reporter: GregWeber | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template | Version: 7.6.3
Haskell | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Windows | Difficulty: Unknown
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* cc: gintas (added)
* os: Unknown/Multiple => Windows
Comment:
While cleaning up
[https://github.com/ghc/ghc/blob/64c9898f7b5239435f131f5444d62bda23dfc9ef/compiler/parser/Lexer.x#L110
Lexer.x] a few months ago, I tried to change:
{{{
$white_no_nl = $whitechar # \n
}}}
To:
{{{
$white_no_nl = $whitechar # $nl
}}}
That didn't validate, and I didn't quite understand what was going on, so
I left it at that. I did add a TODO, because I thought it might be related
to this ticket.
To whomever fixes this bug: please also remove that TODO, especially if
that line turns out to be fine the way it is.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8424#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list