Introduction
Introduction Statistics Contact Development Disclaimer Help
improve wording and fix small typos - xmlparser - XML parser
git clone git://git.codemadness.org/xmlparser
Log
Files
Refs
README
LICENSE
---
commit 879fe9b0203550755f7b70d8c0061b443eebb948
parent 7789da8556c97b8a8a4f9f8577b7a2e3f7693b31
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 15 Aug 2023 19:12:42 +0200
improve wording and fix small typos
Diffstat:
M xml.c | 4 ++--
M xml.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/xml.c b/xml.c
@@ -352,7 +352,7 @@ xml_parse(XMLParser *x)
x->taglen = 1;
x->isshorttag = isend = 0;
- /* treat processing instruction as shorttag, d…
+ /* treat processing instruction as short tag, …
if (c == '?') {
x->isshorttag = 1;
} else if (c == '/') {
@@ -381,7 +381,7 @@ xml_parse(XMLParser *x)
if (x->xmltagstartpars…
x->xmltagstart…
}
- /* call tagend for shortform o…
+ /* call tagend for short tag o…
if (x->isshorttag) {
if (x->xmltagend)
x->xmltagend(x…
diff --git a/xml.h b/xml.h
@@ -36,7 +36,7 @@ typedef struct xmlparser {
/* current tag */
char tag[1024];
size_t taglen;
- /* current tag is in shortform ? <tag /> */
+ /* current tag is a short tag ? <tag /> */
int isshorttag;
/* current attribute name */
char name[1024];
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.