diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-14 13:23:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-14 13:23:57 +0000 |
commit | 5606c3c6143de772dffc1928eac3cd7eb76fe5ea (patch) | |
tree | fa7f7672291bbb47b7f345c99f9ea72a1385359f /mdoc_validate.c | |
parent | b4c9db1dc768aa1a43e9ae009d4f618f26cdbb0a (diff) | |
download | mandoc-5606c3c6143de772dffc1928eac3cd7eb76fe5ea.tar.gz |
shut up about tabs in SYNOPSIS .Fd lines, there is no good way to avoid them
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 21948506..3471b58c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -298,7 +298,8 @@ mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n) 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 */ |