ocaml-doc / doc-ock

(DEPRECATED) Documentation generation for OCaml
ISC License
15 stars 4 forks source link

[] interpreted as empty code span, translated to invalid XML #19

Closed dsheets closed 10 years ago

dsheets commented 10 years ago
(** [] *)

is interpreted as an empty code span and translated to XML as

<code></code>

which is then parsed as CODE CLOSE which is not a valid production (missing Data). This results in a parse error and termination of the parsing of that compilation unit.

lpw25 commented 10 years ago

Should now be fixed in doc-ock-xml.