summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-17 12:08:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-17 12:08:08 +0000
commit3446c98bd2e82211a7d2dd91a4f256a3695e91fb (patch)
tree1e4fd7aee367009e81a732f60fd19710cd5fb160 /mdoc_validate.c
parentb242d180848983c5a68cdac72768c49693a48e7f (diff)
downloadmandoc-3446c98bd2e82211a7d2dd91a4f256a3695e91fb.tar.gz
Documented `br' macro in mdoc.7.
Made `Pp' and `Lp' be inline_eoln() (not sure why they weren't before).
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 915d2f18..fde2dbab 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -125,7 +125,6 @@ static v_post posts_nd[] = { berr_ge1, NULL };
static v_post posts_nm[] = { post_nm, NULL };
static v_post posts_notext[] = { eerr_eq0, NULL };
static v_post posts_pf[] = { eerr_eq1, NULL };
-static v_post posts_pp[] = { ewarn_eq0, NULL };
static v_post posts_rv[] = { eerr_eq0, post_args, NULL };
static v_post posts_sh[] = { herr_ge1, bwarn_ge1, post_sh, NULL };
static v_post posts_ss[] = { herr_ge1, NULL };
@@ -158,7 +157,7 @@ const struct valids mdoc_valids[MDOC_MAX] = {
{ pres_os, NULL }, /* Os */
{ pres_sh, posts_sh }, /* Sh */
{ pres_ss, posts_ss }, /* Ss */
- { NULL, posts_pp }, /* Pp */
+ { NULL, posts_notext }, /* Pp */
{ pres_d1, posts_wline }, /* D1 */
{ pres_d1, posts_wline }, /* Dl */
{ pres_bd, posts_bd }, /* Bd */
@@ -259,7 +258,7 @@ const struct valids mdoc_valids[MDOC_MAX] = {
{ NULL, NULL }, /* Fr */
{ NULL, posts_notext }, /* Ud */
{ pres_lb, posts_lb }, /* Lb */
- { NULL, posts_pp }, /* Lp */
+ { NULL, posts_notext }, /* Lp */
{ NULL, NULL }, /* Lk */
{ NULL, posts_text }, /* Mt */
{ NULL, posts_wline }, /* Brq */