#3549: unlit does not follow H98 spec
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by igloo):
Hmm, the report says that
{{{
Program code ends just before a subsequent line that begins \end{code}
(ignoring string literals, of course).
}}}
which suggests that the first `\end{code}` in:
{{{
\begin{code}
foo = "hello\
\end{code}"
\end{code}
}}}
does not end the code block, but I don't think the unlit'er should have to
be able to know whether or not it is inside a string literal (and thus
have to keep track of at least string literals and comment depth).
I suggest clarifying (and possibly changing) the design with H'2011, and
no action until then.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3549#comment:6>
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