summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-06 21:10:31 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-06 21:10:31 +0000
commit390903639a9ead1a07e3f5ccee3a456031ac78d7 (patch)
tree80817df37a08faef7209bca42b0cf706aaf55750 /html.c
parentba3705541383817037755d7981deb54f3cb5ac43 (diff)
downloadmandoc-390903639a9ead1a07e3f5ccee3a456031ac78d7.tar.gz
.St macros in place.
Diffstat (limited to 'html.c')
-rw-r--r--html.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/html.c b/html.c
index 884a09e2..c1d335da 100644
--- a/html.c
+++ b/html.c
@@ -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);