* mdocml: shut up about tabs in SYNOPSIS .Fd lines, there is no good way
@ 2015-02-14 13:24 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-02-14 13:24 UTC (permalink / raw)
To: source
Log Message:
-----------
shut up about tabs in SYNOPSIS .Fd lines, there is no good way to avoid them
Modified Files:
--------------
mdocml:
mdoc_validate.c
Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_validate.c,v
retrieving revision 1.278
retrieving revision 1.279
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.278 -r1.279
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -298,7 +298,8 @@ mdoc_valid_pre(struct mdoc *mdoc, struct
switch (n->type) {
case MDOC_TEXT:
- check_text(mdoc, n->line, n->pos, n->string);
+ if (n->sec != SEC_SYNOPSIS || n->parent->tok != MDOC_Fd)
+ check_text(mdoc, n->line, n->pos, n->string);
/* FALLTHROUGH */
case MDOC_TBL:
/* FALLTHROUGH */
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-14 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-14 13:24 mdocml: shut up about tabs in SYNOPSIS .Fd lines, there is no good way 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).