summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:55:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-16 19:55:28 +0000
commit9926ea89c1f7a785e750b0118b7b4ed73b4fd2d0 (patch)
treedbad9a35492afb007b8ff5e3ad1416ed1e8ed989 /man_validate.c
parenta2605b913e645cce238389093dfa9d10cbcf7236 (diff)
downloadmandoc-9926ea89c1f7a785e750b0118b7b4ed73b4fd2d0.tar.gz
Removed MAN___: moved MAN_br to its index (comments not passed into parser).
Fix: hashtable not fully formed after removal of MDOC___.
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man_validate.c b/man_validate.c
index 53a8a976..703e8118 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -48,7 +48,7 @@ static v_post posts_eq0[] = { check_eq0, NULL };
static v_post posts_ge2_le5[] = { check_ge2, check_le5, NULL };
static const struct man_valid man_valids[MAN_MAX] = {
- { NULL }, /* __ */
+ { posts_eq0 }, /* br */
{ posts_ge2_le5 }, /* TH */
{ posts_ge1 }, /* SH */
{ posts_ge1 }, /* SS */
@@ -69,7 +69,6 @@ static const struct man_valid man_valids[MAN_MAX] = {
{ NULL }, /* I */
{ NULL }, /* IR */
{ NULL }, /* RI */
- { posts_eq0 }, /* br */
{ posts_eq0 }, /* na */
{ NULL }, /* i */
};