summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-21 09:08:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-21 09:08:26 +0000
commit30b130d45dce3f49f706cae2cb14f39c3b5246fc (patch)
tree10487da55a4856e79ea092874ae1a824a3639f55 /mdoc_validate.c
parent6ff953b9dae270b837ca8b8a0ba146a1c3296243 (diff)
downloadmandoc-30b130d45dce3f49f706cae2cb14f39c3b5246fc.tar.gz
Finally make mdoc argv CPP-defines into a proper enum.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index cc00a1ae..958399af 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -624,6 +624,8 @@ pre_bl(PRE_ARGS)
if ( ! mdoc_nmsg(mdoc, n, MANDOCERR_IGNARGV))
return(0);
break;
+ default:
+ continue;
}
/* Check: duplicate auxiliary arguments. */
@@ -946,7 +948,7 @@ static int
post_bf(POST_ARGS)
{
struct mdoc_node *np;
- int arg;
+ enum mdocargt arg;
/*
* Unlike other data pointers, these are "housed" by the HEAD