From b83737985f18dfc1026466bec9e1aee019570a19 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 20 Mar 2015 14:47:21 +0000 Subject: The .PD macro can occur in next-line scope. Fixes zshmisc(1). Issue reported by Christian Neukirchen . --- usr.bin/mandoc/man_macro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 * Copyright (c) 2012, 2013, 2014, 2015 Ingo Schwarze @@ -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 */ -- cgit v1.2.3