summaryrefslogtreecommitdiffstats
path: root/read.c
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 /read.c
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 'read.c')
-rw-r--r--read.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/read.c b/read.c
index d97c944b..dd456468 100644
--- a/read.c
+++ b/read.c
@@ -192,7 +192,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"not a manual",
"column syntax is inconsistent",
"NOT IMPLEMENTED: .Bd -file",
- "line scope broken, syntax violated",
"argument count wrong, violates syntax",
"child violates parent syntax",
"argument count wrong, violates syntax",