diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-16 19:55:28 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-16 19:55:28 +0000 |
commit | 779cfd652ca006f1e2598aba37976bc9e022ac11 (patch) | |
tree | 9e664d074f0a23b507be5be82c55686e8dcb83bc /man_validate.c | |
parent | a7f2dc1d0e14e61727a4abdb0250b39e016e0705 (diff) | |
download | mandoc-779cfd652ca006f1e2598aba37976bc9e022ac11.tar.gz mandoc-779cfd652ca006f1e2598aba37976bc9e022ac11.tar.zst mandoc-779cfd652ca006f1e2598aba37976bc9e022ac11.zip |
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/man_validate.c b/man_validate.c index 61c199b6..95452589 100644 --- a/man_validate.c +++ b/man_validate.c @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.9 2009/06/10 20:18:43 kristaps Exp $ */ +/* $Id: man_validate.c,v 1.10 2009/06/16 19:55:28 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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 */ }; |