diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-18 11:11:12 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-18 11:11:12 +0000 |
commit | 1c57e34fd38554f0651309503b2141e84b7db486 (patch) | |
tree | 184c95fd172a2cef1ec723317fb102ed3b1188d4 /mandoc.h | |
parent | 2b1a4d195c217fdbdc7ef44fc5082a40d73cdf1a (diff) | |
download | mandoc-1c57e34fd38554f0651309503b2141e84b7db486.tar.gz |
Fix handling of paragraph macros inside lists:
* When they are trailing the last item, move them outside the list.
* When they are trailing any other none-compact item, drop them.
OpenBSD rev. mdoc_validate.c 1.107, mdoc.c 1.91
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ enum mandocerr { /* related to macros and nesting */ MANDOCERR_MACROOBS, /* skipping obsolete macro */ MANDOCERR_IGNPAR, /* skipping paragraph macro */ + MANDOCERR_MOVEPAR, /* moving paragraph macro out of list */ MANDOCERR_IGNNS, /* skipping no-space macro */ MANDOCERR_SCOPENEST, /* blocks badly nested */ MANDOCERR_CHILD, /* child violates parent syntax */ |