summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-04-27 17:11:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-04-27 17:11:24 +0000
commitb4c6ee8b16f890a5c4514c24d3fa9ee27cb0efe0 (patch)
tree5e73f4b1108b8d95fd044fa7f8591f1981205145 /man_term.c
parent5ca3efa4235c119815d10da34b9b55a9b829c5e0 (diff)
downloadmandoc-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_term.c')
-rw-r--r--man_term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/man_term.c b/man_term.c
index 7ba2cda7..10cac3b4 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2010-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2010-2015,2017-2020,2022 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
@@ -121,10 +121,10 @@ static const struct man_term_act man_term_acts[MAN_MAX - MAN_TH] = {
{ pre_alternate, NULL, 0 }, /* RI */
{ NULL, NULL, 0 }, /* RE */
{ pre_RS, post_RS, 0 }, /* RS */
- { pre_DT, NULL, 0 }, /* DT */
+ { pre_DT, NULL, MAN_NOTEXT }, /* DT */
{ pre_ign, NULL, MAN_NOTEXT }, /* UC */
{ pre_PD, NULL, MAN_NOTEXT }, /* PD */
- { pre_ign, NULL, 0 }, /* AT */
+ { pre_ign, NULL, MAN_NOTEXT }, /* AT */
{ pre_in, NULL, MAN_NOTEXT }, /* in */
{ pre_SY, post_SY, 0 }, /* SY */
{ NULL, NULL, 0 }, /* YS */