aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-19 14:00:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-19 14:00:19 +0000
commit0e017743181b76a26d2758234eb98fc736acc722 (patch)
tree7ba171af8115765e30ae82c5cb2744c4f99fbf0b /man_validate.c
parent8b443f186e2557df92e04f3b82a2ce9d2011cb7e (diff)
downloadmandoc-0e017743181b76a26d2758234eb98fc736acc722.tar.gz
mandoc-0e017743181b76a26d2758234eb98fc736acc722.tar.zst
mandoc-0e017743181b76a26d2758234eb98fc736acc722.zip
Decouple the token code for "no request or macro" from the individual
high-level parsers to allow further unification of functions that only need to recognize this code, but that don't care about different high-level macrosets beyond that.
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c
index e1303f38..59baf88a 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -505,7 +505,7 @@ post_vs(CHKARGS)
"%s after %s", man_macronames[n->tok],
man_macronames[n->parent->tok]);
/* FALLTHROUGH */
- case MAN_MAX:
+ case TOKEN_NONE:
/*
* Don't warn about this because it occurs in pod2man
* and would cause considerable (unfixable) warnage.