diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-17 09:08:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-17 09:08:19 +0000 |
commit | 3a57b035c09a784e5ce7ada2b1a4ce22ed7320fe (patch) | |
tree | 515d02d4ccb4880b38f6df7c57a3f8e598c1736d /libmdoc.h | |
parent | 9ccae84ab6241d21623e7c1872a91f839f32e1c9 (diff) | |
download | mandoc-3a57b035c09a784e5ce7ada2b1a4ce22ed7320fe.tar.gz |
Get mdoc_argv.c ready to use [some of] mandoc_getarg() by giving said
function a parameter to suppress warnings.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -62,20 +62,20 @@ struct mdoc_macro { enum margserr { ARGS_ERROR, - ARGS_EOLN, - ARGS_WORD, - ARGS_PUNCT, - ARGS_QWORD, - ARGS_PHRASE, - ARGS_PPHRASE, - ARGS_PEND + ARGS_EOLN, /* end-of-line */ + ARGS_WORD, /* normal word */ + ARGS_PUNCT, /* series of punctuation */ + ARGS_QWORD, /* quoted word */ + ARGS_PHRASE, /* Ta'd phrase (-column) */ + ARGS_PPHRASE, /* tabbed phrase (-column) */ + ARGS_PEND /* last phrase (-column) */ }; enum margverr { ARGV_ERROR, - ARGV_EOLN, - ARGV_ARG, - ARGV_WORD + ARGV_EOLN, /* end of line */ + ARGV_ARG, /* valid argument */ + ARGV_WORD /* normal word (or bad argument---same thing) */ }; /* |