diff options
author | 2003-07-24 18:12:53 +0000 | |
---|---|---|
committer | 2003-07-24 18:12:53 +0000 | |
commit | 7a152b1ad363bc4e9ad4f8e4fbae1a8234de489f (patch) | |
tree | ae0839f024a040c78fc3ada86c5c67c4031574ea | |
parent | increase ALG_MAX_RESULT_LEN to 64 bytes for sha2-512 (diff) | |
download | wireguard-openbsd-7a152b1ad363bc4e9ad4f8e4fbae1a8234de489f.tar.xz wireguard-openbsd-7a152b1ad363bc4e9ad4f8e4fbae1a8234de489f.zip |
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@
-rw-r--r-- | share/tmac/mdoc/doc | 6 |
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 |