summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-07-18 11:41:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-07-18 11:41:23 +0000
commite60414fcfdd86a7e2dcfaad4b5c71b441deb210d (patch)
tree873557c4da0d57fbe28d9d7a1b0cc6c8d1243a53
parent5e6b9c4b6acde45631ed4c461925428919d7a09b (diff)
downloadmandoc-e60414fcfdd86a7e2dcfaad4b5c71b441deb210d.tar.gz
Support auto-tagging for ".It Va".
This combination is somewhat rare because few libraries expose so many global variables that they need a list to enumerate them, but when the idiom does occur, tagging the variable names is generally useful. For example, this helps awk(1), dc(1), make(1), rc.subr(8), ... Missing feature reported and patch reviewed, tested, and OK'ed by kn@.
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index a85f6d60..170ae0bf 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -164,7 +164,7 @@ static const v_post mdoc_valids[MDOC_MAX - MDOC_Dd] = {
post_defaults, /* Pa */
post_rv, /* Rv */
post_st, /* St */
- post_delim_nb, /* Va */
+ post_tag, /* Va */
post_delim_nb, /* Vt */
post_xr, /* Xr */
NULL, /* %A */