Return to args.in CVS log | Up to [cvsweb.bsd.lv] / mandoc / regress / roff / mc |
File: [cvsweb.bsd.lv] / mandoc / regress / roff / mc / args.in (download)
Revision 1.1, Thu Apr 28 16:21:12 2022 UTC (2 years, 4 months ago) by schwarze
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. |
.\" $OpenBSD: args.in,v 1.1 2022/04/28 16:16:46 schwarze Exp $ .TH MC-ARGS 1 "April 28, 2022" .SH NAME mc-args \- arguments to the .mc request .SH DESCRIPTION .ll 50n .nf initial text .mc |suffix ASCII character in the margin .mc \CXX invalid escape sequence .mc \! unsupported escape sequence .mc \a ignored escape sequence .mc \(ba special character in the margin .mc \[integral] special character represented as string .mc \fR font escape in the margin .mc \N'124' numbered character in the margin .mc \[u007C]suffix Unicode character in the margin .mc \o'o/' overstriking in the margin .ll