Up to [cvsweb.bsd.lv] / mandoc / regress / roff
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.10 / (download) - annotate - [selected], Thu Apr 28 16:21:11 2022 UTC (2 years ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (unified)
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.