diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-01-10 13:46:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-01-10 13:46:54 +0000 |
commit | 0b746228170b0834971418f7a4dc351dde3e86ae (patch) | |
tree | ec43260a404f049c3e7731895be49e667ed47802 /usr.bin/mandoc/man_html.c | |
parent | 1cde08da590a4185e5ba76062bac0dd9908e47fe (diff) |
unify names of AST node flags; no change of cpp output
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r-- | usr.bin/mandoc/man_html.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c index 4fc98977e85..d0ccf5d309d 100644 --- a/usr.bin/mandoc/man_html.c +++ b/usr.bin/mandoc/man_html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_html.c,v 1.73 2016/01/08 17:48:04 schwarze Exp $ */ +/* $OpenBSD: man_html.c,v 1.74 2017/01/10 13:46:53 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -209,14 +209,14 @@ print_man_node(MAN_ARGS) print_paragraph(h); return; } - if (n->flags & MAN_LINE && (*n->string == ' ' || + if (n->flags & NODE_LINE && (*n->string == ' ' || (n->prev != NULL && mh->fl & MANH_LITERAL && ! (h->flags & HTML_NONEWLINE)))) print_otag(h, TAG_BR, 0, NULL); print_text(h, n->string); return; case ROFFT_EQN: - if (n->flags & MAN_LINE) + if (n->flags & NODE_LINE) putchar('\n'); print_eqn(h, n->eqn); break; @@ -510,7 +510,7 @@ man_IP_pre(MAN_ARGS) if (MAN_TP == n->tok) { nn = n->child; - while (NULL != nn && 0 == (MAN_LINE & nn->flags)) + while (NULL != nn && 0 == (NODE_LINE & nn->flags)) nn = nn->next; while (NULL != nn) { print_man_node(man, nn, mh, h); |