diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-27 17:11:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-27 17:11:24 +0000 |
commit | b4c6ee8b16f890a5c4514c24d3fa9ee27cb0efe0 (patch) | |
tree | 5e73f4b1108b8d95fd044fa7f8591f1981205145 /man_macro.c | |
parent | 5ca3efa4235c119815d10da34b9b55a9b829c5e0 (diff) | |
download | mandoc-b4c6ee8b16f890a5c4514c24d3fa9ee27cb0efe0.tar.gz |
The .AT, .DT, and .UC macros are allowed inside next-line scope
and never produce output at the place of their invocation.
Minibugs found while investigating unrelated afl(1) reports from tb@.
Diffstat (limited to 'man_macro.c')
-rw-r--r-- | man_macro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man_macro.c b/man_macro.c index 9157ee65..9840cff4 100644 --- a/man_macro.c +++ b/man_macro.c @@ -68,10 +68,10 @@ static const struct man_macro man_macros[MAN_MAX - MAN_TH] = { { in_line_eoln, 0 }, /* RI */ { blk_close, MAN_XSCOPE }, /* RE */ { blk_exp, MAN_XSCOPE }, /* RS */ - { in_line_eoln, 0 }, /* DT */ - { in_line_eoln, 0 }, /* UC */ + { in_line_eoln, MAN_NSCOPED }, /* DT */ + { in_line_eoln, MAN_NSCOPED }, /* UC */ { in_line_eoln, MAN_NSCOPED }, /* PD */ - { in_line_eoln, 0 }, /* AT */ + { in_line_eoln, MAN_NSCOPED }, /* AT */ { in_line_eoln, MAN_NSCOPED }, /* in */ { blk_imp, MAN_XSCOPE }, /* SY */ { blk_close, MAN_XSCOPE }, /* YS */ |