source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: Support auto-tagging for ".It Va".
@ 2021-07-18 11:41 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2021-07-18 11:41 UTC (permalink / raw)
  To: source

Log Message:
-----------
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@.

Modified Files:
--------------
    mandoc:
        mdoc_validate.c

Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_validate.c,v
retrieving revision 1.388
retrieving revision 1.389
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.388 -r1.389
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -164,7 +164,7 @@ static	const v_post mdoc_valids[MDOC_MAX
 	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 */
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-18 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-18 11:41 mandoc: Support auto-tagging for ".It Va" schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).