aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit37dca223f8adbfb62ab71687a8b3f306804295c8 (patch)
tree942ccf5a988ea7f17a438ae03a60a6d5fe507e60 /read.c
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 'read.c')
-rw-r--r--read.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/read.c b/read.c
index ab2a7347..2e66757b 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.25 2011/10/08 15:42:29 kristaps Exp $ */
+/* $Id: read.c,v 1.26 2011/11/07 01:24:40 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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",