summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-07 01:24:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-07 01:24:40 +0000
commit9830303b6541ca2717331d52b40997c9e566a48b (patch)
treebef7f838061058f52f46cf360a8feec0e93a87e9 /mandoc.h
parenta3d2601486005576848664f22121fcd2881778e3 (diff)
downloadmandoc-9830303b6541ca2717331d52b40997c9e566a48b.tar.gz
When the HEAD scope of .TP is broken by another block macro,
do not abort with a FATAL error, but report a report a WARNING, remove the broken .TP from the syntax tree, and prod on. Reported repeatedly by ports people, at least by brad@ and jeremy@. Also fixes rendition(4) in Xenocara. ok kristaps@
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index b3e9ca6e..fc7e19df 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -150,7 +150,6 @@ enum mandocerr {
MANDOCERR_NOTMANUAL, /* manual isn't really a manual */
MANDOCERR_COLUMNS, /* column syntax is inconsistent */
MANDOCERR_BADDISP, /* NOT IMPLEMENTED: .Bd -file */
- MANDOCERR_SYNTLINESCOPE, /* line scope broken, syntax violated */
MANDOCERR_SYNTARGVCOUNT, /* argument count wrong, violates syntax */
MANDOCERR_SYNTCHILD, /* child violates parent syntax */
MANDOCERR_SYNTARGCOUNT, /* argument count wrong, violates syntax */