lean4-htt/tests/lean/docparse/block_0010.expected.out
David Thrane Christiansen 99b3ba12c9
fix: error messages from Verso docstring parser (#12372)
This PR extensively reworks the Verso docstring parser so that it gives
much better parser errors that provide more useful guidance.

Closes #12063
2026-02-07 07:49:06 +00:00

15 lines
No EOL
379 B
Text

2 failures:
@1 (⟨1, 1⟩): expected identifier
"\n test\n arg}\nHere's a modified paragraph."
@45 (⟨4, 28⟩): unexpected end of input; expected '![', '$$', '$', '*', '[', '[^', '_', '`' or '{'
""
Final stack:
(Lean.Doc.Syntax.para
"para{"
[(Lean.Doc.Syntax.role
"{"
<missing>
"["
[(Lean.Doc.Syntax.footnote <missing>)]
"]")])