aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit37dca223f8adbfb62ab71687a8b3f306804295c8 (patch)
tree942ccf5a988ea7f17a438ae03a60a6d5fe507e60 /mandoc.h
parent050315e505c48b0677069afc7175067e954adbea (diff)
downloadmandoc-37dca223f8adbfb62ab71687a8b3f306804295c8.tar.gz
mandoc-37dca223f8adbfb62ab71687a8b3f306804295c8.tar.zst
mandoc-37dca223f8adbfb62ab71687a8b3f306804295c8.zip
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index d80098e3..01d6df2e 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.96 2011/10/06 22:29:12 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.97 2011/11/07 01:24:40 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 */