diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-10 20:37:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-10 20:37:02 +0000 |
commit | 4452fbf1f2798a60d954b8cc4e2c7f49f5d9fea8 (patch) | |
tree | b5bc1f5a3d595f839436078fcaa0606a31036f63 | |
parent | b0095a770753743c2ece0f095b914220c7ae47fb (diff) | |
download | mandoc-4452fbf1f2798a60d954b8cc4e2c7f49f5d9fea8.tar.gz |
basic implementation of -Tman .Bl -tag
while here, do some minor outflags cleanup
OpenBSD rev. 1.30
-rw-r--r-- | mdoc_man.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -764,6 +764,7 @@ static void post_bl(DECL_ARGS) { + outflags |= MMAN_br; if (LIST_enum == n->norm->Bl.type) n->norm->Bl.count = 0; } @@ -1052,16 +1053,15 @@ pre_it(DECL_ARGS) print_width(bln->norm->Bl.width, NULL); outflags |= MMAN_nl; print_count(&bln->norm->Bl.count); - outflags |= MMAN_nl; break; case (LIST_hang): print_width(bln->norm->Bl.width, n->child); - outflags |= MMAN_nl; break; - default: - if (bln->norm->Bl.width) - print_width(bln->norm->Bl.width, n->child); + case (LIST_tag): + print_width(bln->norm->Bl.width, NULL); break; + default: + return(1); } outflags |= MMAN_nl; default: |