diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-21 09:08:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-21 09:08:26 +0000 |
commit | 30b130d45dce3f49f706cae2cb14f39c3b5246fc (patch) | |
tree | 10487da55a4856e79ea092874ae1a824a3639f55 /mdoc_validate.c | |
parent | 6ff953b9dae270b837ca8b8a0ba146a1c3296243 (diff) | |
download | mandoc-30b130d45dce3f49f706cae2cb14f39c3b5246fc.tar.gz |
Finally make mdoc argv CPP-defines into a proper enum.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 4 |
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 |