diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-06 21:10:31 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-06 21:10:31 +0000 |
commit | 413c1bdf1af371c4a4703381a78f68045d85b2fe (patch) | |
tree | 9c3f7f3b03f7aa5811df9e475eb20604d7146a73 /html.c | |
parent | d54afcd6206b4f4d7ffc18ab336cabe41c5bd6ab (diff) | |
download | mandoc-413c1bdf1af371c4a4703381a78f68045d85b2fe.tar.gz mandoc-413c1bdf1af371c4a4703381a78f68045d85b2fe.tar.zst mandoc-413c1bdf1af371c4a4703381a78f68045d85b2fe.zip |
.St macros in place.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.12 2008/12/06 19:41:41 kristaps Exp $ */ +/* $Id: html.c,v 1.13 2008/12/06 21:10:31 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -122,6 +122,8 @@ html_It_headtagname(struct md_mbuf *mbuf, struct htmlq *q, break; assert(n); + + /* LINTED */ for (i = 0; ROFF_ARGMAX != n->argc[i] && i < ROFF_MAXLINEARG; i++) { switch (n->argc[i]) { @@ -155,6 +157,8 @@ html_It_bodytagname(struct md_mbuf *mbuf, struct htmlq *q, break; assert(n); + + /* LINTED */ for (i = 0; ROFF_ARGMAX != n->argc[i] && i < ROFF_MAXLINEARG; i++) { switch (n->argc[i]) { @@ -249,6 +253,8 @@ html_It_blocktagname(struct md_mbuf *mbuf, struct htmlq *q, break; assert(n); + + /* LINTED */ for (i = 0; ROFF_ARGMAX != n->argc[i] && i < ROFF_MAXLINEARG; i++) { switch (n->argc[i]) { @@ -549,6 +555,7 @@ html_inlinetagargs(struct md_mbuf *mbuf, return(0); if ( ! ml_nputs(mbuf, "\"", 1, res)) return(0); + break; default: break; } @@ -605,6 +612,7 @@ html_begintag(struct md_mbuf *mbuf, void *data, /* TODO: argv. */ assert(argv); + /* LINTED */ for (i = 0; ROFF_ARGMAX != argc[i] && i < ROFF_MAXLINEARG; i++) node->argc[i] = argc[i]; @@ -721,6 +729,7 @@ html_free(void *p) assert(p); q = (struct htmlq *)p; + /* LINTED */ while ((n = q->last)) { q->last = n->parent; free(n); |