This commit is contained in:
Ruslan Ermilov 2003-07-03 18:01:20 +00:00
parent dedfec2aa4
commit 504586cecd

View File

@ -101,7 +101,7 @@
.nr Ft 8n\" ? .nr Ft 8n\" ?
.nr Fx 1 .nr Fx 1
.nr Ic 10n .nr Ic 10n
.nr In 12n\" ? .nr In 12n
.nr It 8n\" ? .nr It 8n\" ?
.nr Lb 11n .nr Lb 11n
.nr Li 16n .nr Li 16n
@ -587,6 +587,25 @@
.. ..
. .
. .
.\" NS doc-check-depth macro
.\" NS check paired macros
.
.de doc-check-depth
. if \n[doc-list-depth] \{\
. tm mdoc warning: A .Bl directive has no matching .El (#\n[.c])
. nr doc-list-depth 0
. \}
. if \n[doc-display-depth] \{\
. tm mdoc warning: A .Bd directive has no matching .Ed (#\n[.c])
. nr doc-display-depth 0
. \}
. if \n[doc-fontmode-depth] \{\
. tm mdoc warning: A .Bf directive has no matching .Ef (#\n[.c])
. nr doc-fontmode-depth 0
. \}
..
.
.
.\" NS doc-end-macro macro .\" NS doc-end-macro macro
.\" NS finish output .\" NS finish output
. .
@ -603,8 +622,7 @@
. pl +3v . pl +3v
. fl . fl
. .
. if \n[doc-list-depth] \ . doc-check-depth
. tm mdoc warning: list open at EOF! A .Bl directive has no matching .El
. .
. if \n[cR] \{\ . if \n[cR] \{\
. sp . sp
@ -834,6 +852,8 @@
. .
. in +\n[doc-subheader-indent]u . in +\n[doc-subheader-indent]u
. ns . ns
.
. doc-check-depth
. \} . \}
.. ..
. .
@ -898,6 +918,8 @@
. ne 2 . ne 2
. br . br
. ns . ns
.
. doc-check-depth
. \} . \}
.. ..
. .