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 | 25dd5fca341866aad4ae182313bdf902ae4c349f (patch) | |
tree | 1e39b0d24418488654ff080c55244a1ce5ae7041 /mdoc_validate.c | |
parent | 8b85d55ace96243bd451848b3954a433f584c00c (diff) | |
download | mandoc-25dd5fca341866aad4ae182313bdf902ae4c349f.tar.gz mandoc-25dd5fca341866aad4ae182313bdf902ae4c349f.tar.zst mandoc-25dd5fca341866aad4ae182313bdf902ae4c349f.zip |
Finally make mdoc argv CPP-defines into a proper enum.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index c6af80a9..822c3b5c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.112 2010/07/20 14:56:42 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.113 2010/07/21 09:08:26 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 |