Up to [cvsweb.bsd.lv] / mandoc / regress / roff / mc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 6 12:19:03 2022 UTC (2 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
adjust two desired error messages after roff_escape.c rev. 1.11 improved diagnostics for the \C escape sequence
Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 28 16:21:12 2022 UTC (2 years, 4 months ago) by schwarze
Branch: MAIN
The syntax of the roff(7) .mc request is quite special and the roff_onearg() parsing function is too generic, so provide a dedicated parsing function instead. This fixes an assertion failure when an \o escape sequence is passed as the argument; the bug was found by tb@ using afl(1). It also makes mandoc output more similar to groff in various cases.