summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-11-11 19:17:58 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-11-11 19:17:58 +0100
commit0e702300472d139a17d9576ab3dc0fa8b055ae1a (patch)
tree651f36a4813e82aa4839abbfa73d8eae3041707d
parent2d413bee65d99bc8c481b91dbbb9560b37b883d2 (diff)
comment style
-rw-r--r--xml.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xml.c b/xml.c
index 1c74492..70b1c5e 100644
--- a/xml.c
+++ b/xml.c
@@ -259,14 +259,16 @@ xmlparser_parse(XMLParser *x) {
x->xmltagend(x, &(x->tag)[1], x->taglen, 0);
} else {
x->taglen = taglen;
+ /* start tag */
if(x->xmltagstart)
- x->xmltagstart(x, x->tag, x->taglen); /* start tag */
+ x->xmltagstart(x, x->tag, x->taglen);
if(isspace(c))
xmlparser_parseattrs(x);
if(x->xmltagstartparsed)
x->xmltagstartparsed(x, x->tag, x->taglen, x->isshorttag);
}
- if((x->isshorttag || ispi) && x->xmltagend) /* call tagend for shortform or processing instruction */
+ /* call tagend for shortform or processing instruction */
+ if((x->isshorttag || ispi) && x->xmltagend)
x->xmltagend(x, x->tag, x->taglen, 1);
break;
} else if(taglen < sizeof(x->tag) - 1)