summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 09:35:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 09:35:35 +0000
commit7d24aa6b61fc7c0a61348119c53447f5c9b1b892 (patch)
tree8a15230522126a4b7d1f5821880abdca2a1a1dc9 /mdoc_validate.c
parent0088ea8a5565f33b588d35efb5383d380c1dabcc (diff)
downloadmandoc-7d24aa6b61fc7c0a61348119c53447f5c9b1b892.tar.gz
Fixed `Lb' to be in_line (reported by Ulrich Spoerlein).
Added `Lb' documentation to mdoc.7. Removed harmless but superfluous pre_lb check (was just NULL entries). Added regressions for `Lb' (NOTE that these will only run on new groff, as old groff doesn't support `Lb' at all).
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 7527cfb0..2791ceeb 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -138,7 +138,6 @@ static v_pre pres_er[] = { NULL, NULL };
static v_pre pres_ex[] = { NULL, NULL };
static v_pre pres_fd[] = { NULL, NULL };
static v_pre pres_it[] = { pre_it, NULL };
-static v_pre pres_lb[] = { NULL, NULL };
static v_pre pres_os[] = { pre_os, NULL };
static v_pre pres_rv[] = { pre_rv, NULL };
static v_pre pres_sh[] = { pre_sh, NULL };
@@ -251,7 +250,7 @@ const struct valids mdoc_valids[MDOC_MAX] = {
{ NULL, NULL }, /* Hf */
{ NULL, NULL }, /* Fr */
{ NULL, posts_notext }, /* Ud */
- { pres_lb, posts_lb }, /* Lb */
+ { NULL, posts_lb }, /* Lb */
{ NULL, posts_notext }, /* Lp */
{ NULL, posts_text }, /* Lk */
{ NULL, posts_text }, /* Mt */