summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc/doc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-07-24 18:12:54 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-07-24 18:12:54 +0000
commit62963ed20e0825837a14cc29b9e94a5cb1579fb0 (patch)
treeaef408c706d8921c6e05e4472cadfa94cee5e1aa /share/tmac/mdoc/doc
parent74725adf1d8bc31412a26189dd300270ff1a1b83 (diff)
report the line number of the error when extraneous .Ed occurs;
idea from NetBSD but fixed slightly differently to sync with .El; ok millert@ deraadt@
Diffstat (limited to 'share/tmac/mdoc/doc')
-rw-r--r--share/tmac/mdoc/doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/tmac/mdoc/doc b/share/tmac/mdoc/doc
index 575cdf252e9..ed8e72179fc 100644
--- a/share/tmac/mdoc/doc
+++ b/share/tmac/mdoc/doc
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doc,v 1.9 2003/07/16 07:38:38 jmc Exp $
+.\" $OpenBSD: doc,v 1.10 2003/07/24 18:12:53 jmc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1674,7 +1674,7 @@
.de Ed
.ds mN Ed
.br
-.if \\n(dP==0 .tm mdoc: Extraneous .Ed
+.if \\n(dP==0 .tm mdoc: Extraneous .Ed call (#\\n(.c)
.if "\\*(d\\n(dP"dL" \{\
. ft \\n(cF
. fz \\n(cZ
@@ -2204,7 +2204,7 @@
. rr o\\n(lC
.\}
.el 'in \\n(.iu-\\n(w\\n(lCu-\\n(lSu
-.if \\n(lC<=0 .tm Extraneous .El call (#\\n(.c)
+.if \\n(lC<=0 .tm mdoc: Extraneous .El call (#\\n(.c)
.tZ
.nr lC \\n(lC-1
.tY