aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_macro.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
commit25152678ffdb7653b13569fefe86cb617d1e0532 (patch)
tree1f9326ddff3c4d06bed8e2611e7641684809c322 /man_macro.c
parent3d43838424a8548b9c4ffe76ae65e482bfa44346 (diff)
downloadmandoc-25152678ffdb7653b13569fefe86cb617d1e0532.tar.gz
mandoc-25152678ffdb7653b13569fefe86cb617d1e0532.tar.zst
mandoc-25152678ffdb7653b13569fefe86cb617d1e0532.zip
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/man_macro.c b/man_macro.c
index da560c49..80938c66 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -1,4 +1,4 @@
-/* $Id: man_macro.c,v 1.147 2022/04/14 16:43:44 schwarze Exp $ */
+/* $Id: man_macro.c,v 1.148 2022/04/27 17:11:24 schwarze Exp $ */
/*
* Copyright (c) 2012-2015,2017-2020,2022 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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 */