diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-29 12:35:42 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-29 12:35:42 +0000 |
commit | 36ea49d05167f8ba695622ec59362f449d8882bf (patch) | |
tree | dde2ce5c54dc714cd80e97945a0bfaa78d7a29eb /man_validate.c | |
parent | d40f01e01b9fd995ed3ff236f92882a453ac2d00 (diff) | |
download | mandoc-36ea49d05167f8ba695622ec59362f449d8882bf.tar.gz |
Implement .PD for -Tascii.
Reminded about the missing feature by millert@.
This reduces mandoc/groff differences in OpenBSD base by 25%.
ok millert@
Diffstat (limited to 'man_validate.c')
-rw-r--r-- | man_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c index 67b99afc..06f2c88a 100644 --- a/man_validate.c +++ b/man_validate.c @@ -72,6 +72,7 @@ static v_check posts_eq2[] = { check_eq2, NULL }; static v_check posts_fi[] = { check_eq0, post_fi, NULL }; static v_check posts_ft[] = { post_ft, NULL }; static v_check posts_ip[] = { post_IP, NULL }; +static v_check posts_le1[] = { check_le1, NULL }; static v_check posts_nf[] = { check_eq0, post_nf, NULL }; static v_check posts_par[] = { check_par, NULL }; static v_check posts_part[] = { check_part, NULL }; @@ -111,7 +112,7 @@ static const struct man_valid man_valids[MAN_MAX] = { { NULL, posts_part }, /* RS */ { NULL, NULL }, /* DT */ { NULL, posts_uc }, /* UC */ - { NULL, NULL }, /* PD */ + { NULL, posts_le1 }, /* PD */ { NULL, posts_at }, /* AT */ { NULL, NULL }, /* in */ { NULL, posts_ft }, /* ft */ |