diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-30 17:06:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-30 17:06:26 +0000 |
commit | 8cad25c2bd23b7a8d1c081a886ca26c2ff2d1e10 (patch) | |
tree | 69a65683cbfaf670639bea17ed5d29aebd6121e5 /read.c | |
parent | 16567ee6b0b51e693f21d13f133f9fa14e59d992 (diff) | |
download | mandoc-8cad25c2bd23b7a8d1c081a886ca26c2ff2d1e10.tar.gz |
Get rid of the useless FATAL error "child violates parent syntax".
When finding items outside lists, simply skip them and throw an ERROR.
Handle subsections before the first section instead of bailing out.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,6 +185,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "input stack limit exceeded, infinite loop?", "skipping bad character", "skipping unknown macro", + "skipping item outside list", "skipping column outside column list", "skipping end of block that is not open", "inserting missing end of block", @@ -206,7 +207,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "input too large", "column syntax is inconsistent", "NOT IMPLEMENTED: .Bd -file", - "child violates parent syntax", "argument count wrong, violates syntax", "NOT IMPLEMENTED: .so with absolute path or \"..\"", ".so request failed", |