From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 9383f231; for ; Sat, 14 Feb 2015 08:24:27 -0500 (EST) Date: Sat, 14 Feb 2015 08:24:27 -0500 (EST) Message-Id: <16684393772068966234.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: shut up about tabs in SYNOPSIS .Fd lines, there is no good way X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 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