diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-28 16:21:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-28 16:21:09 +0000 |
commit | c0667bb0674363961e21650dd6fa239e4696d039 (patch) | |
tree | c2a9b64e56f4ac90b6b29932d5b5df55c2c8d762 /regress/roff/Makefile | |
parent | ae95bf4c9468b176445f464bec4255eb69978cfa (diff) | |
download | mandoc-c0667bb0674363961e21650dd6fa239e4696d039.tar.gz |
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.
Diffstat (limited to 'regress/roff/Makefile')
-rw-r--r-- | regress/roff/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/roff/Makefile b/regress/roff/Makefile index 9c9580f1..aecb314c 100644 --- a/regress/roff/Makefile +++ b/regress/roff/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.28 2019/01/04 01:06:44 schwarze Exp $ +# $OpenBSD: Makefile,v 1.29 2022/04/28 16:16:46 schwarze Exp $ SUBDIR = args cond esc scale string -SUBDIR += br cc ce char de ds ft ig it ll na nr po ps +SUBDIR += br cc ce char de ds ft ig it ll mc na nr po ps SUBDIR += return rm rn shift sp ta ti tr while .include "../Makefile.sub" |