Ticket #48 (closed bug report: fixed)

Opened 5 years ago

Last modified 5 years ago

parsing of code blocks in LaTeX-style literate programs

Reported by: sebf@… Owned by: nibro
Priority: trivial Milestone: Full code support
Component: parser Version: 0.5.6
Keywords: Cc: sebf@…

Description

GHC is more liberal when parsing LaTeX-style literate programs. For example, I usually define a command to hide code from LaTeX and use it like this:

\hidden{
\begin{code}
\end{code}}

GHC accepts it, HSE only parses it if I rewrite it like this:

\hidden{
\begin{code}
\end{code}
}

Change History

Changed 5 years ago by nibro

HSE relies completely on cpphs for de-literation of code. This should be reported upstream.

Changed 5 years ago by nibro

  • priority changed from major to trivial

Changed 5 years ago by anonymous

  • status changed from new to closed
  • resolution set to fixed

Malcolm Wallace has fixed this in cpphs and released a new version, 1.7.

Note: See TracTickets for help on using tickets.