#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 [email protected]):
It seems reasonable to me that
\end{code} % foo
should be treated as ending a code section.
Given that
\begin{bar} something
\end{bar}
is legal LaTeX, for any given bar, it is up to the definition of the bar
environment what it does with the enclosed text, including the text that
appears on the same line as the introducing \begin{}. The definition in
the Haskell Report of the \begin{code} environment is clear that any text
on the same line is discarded.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3549#comment:4>
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