diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-07-18 11:41:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-07-18 11:41:23 +0000 |
commit | e60414fcfdd86a7e2dcfaad4b5c71b441deb210d (patch) | |
tree | 873557c4da0d57fbe28d9d7a1b0cc6c8d1243a53 /mdoc_validate.c | |
parent | 5e6b9c4b6acde45631ed4c461925428919d7a09b (diff) | |
download | mandoc-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@.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 2 |
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 */ |