aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-06 09:38:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-06 09:38:43 +0000
commit21757403990ffaeb488a62351a28bc9c74eef267 (patch)
tree110a5ad758af98378512ae4edce6445f045925cd /mandoc.1
parentd8b17016dd40c058e6cbfc2f195d4a2ac296d65e (diff)
downloadmandoc-21757403990ffaeb488a62351a28bc9c74eef267.tar.gz
mandoc-21757403990ffaeb488a62351a28bc9c74eef267.tar.zst
mandoc-21757403990ffaeb488a62351a28bc9c74eef267.zip
better diagnostics about excess arguments to .PD .ft .sp
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.16
1 files changed, 5 insertions, 1 deletions
diff --git a/mandoc.1 b/mandoc.1
index d3871b95..19964788 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.148 2015/02/06 08:28:35 schwarze Exp $
+.\" $Id: mandoc.1,v 1.149 2015/02/06 09:38:43 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -1661,6 +1661,10 @@ are invoked with invalid arguments, the
.Ic \&RE
macro is invoked with more than one argument
or with a non-integer argument, the
+.Ic \&PD
+macro or the
+.Ic \&ft
+or
.Ic \&sp
request is invoked with more than one argument, or a request of the
.Ic \&de