summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-03-20 14:47:21 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-03-20 14:47:21 +0000
commitb83737985f18dfc1026466bec9e1aee019570a19 (patch)
tree68d2db1c297a4ce8d9921a440c187592acebdde0 /usr.bin
parent7b215b885573835e4d2ba1dcdbd3fb9fb91fac98 (diff)
The .PD macro can occur in next-line scope. Fixes zshmisc(1).
Issue reported by Christian Neukirchen <chneukirchen at gmail dot com>.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/man_macro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c
index e1ae33e8120..071959a602b 100644
--- a/usr.bin/mandoc/man_macro.c
+++ b/usr.bin/mandoc/man_macro.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: man_macro.c,v 1.61 2015/03/20 12:53:43 schwarze Exp $ */
+/* $OpenBSD: man_macro.c,v 1.62 2015/03/20 14:47:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2012, 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -77,7 +77,7 @@ const struct man_macro __man_macros[MAN_MAX] = {
{ blk_exp, MAN_BSCOPE }, /* RS */
{ in_line_eoln, 0 }, /* DT */
{ in_line_eoln, 0 }, /* UC */
- { in_line_eoln, 0 }, /* PD */
+ { in_line_eoln, MAN_NSCOPED }, /* PD */
{ in_line_eoln, 0 }, /* AT */
{ in_line_eoln, 0 }, /* in */
{ in_line_eoln, 0 }, /* ft */