summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2013-09-22 09:12:36 +0200
committerYorhel <git@yorhel.nl>2013-09-22 09:13:08 +0200
commitd41923630fcf70c6e2181722d9d087dd1aa3b530 (patch)
treed072d1205cdc29a184cabbb5b10ea7edd98cc2dd
parent212009a15a37d73a29ea9666a89d9427a93b96c5 (diff)
Fix incorrect reporting of ELEMSTART as ELEMEND
-rw-r--r--yxml.c2
-rw-r--r--yxml.c.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/yxml.c b/yxml.c
index cff89df..8322b74 100644
--- a/yxml.c
+++ b/yxml.c
@@ -165,7 +165,7 @@ static inline int yxml_elemname(yxml_t *x, unsigned ch) {
static inline int yxml_elemnameend(yxml_t *x, unsigned ch) {
- return YXML_ELEMEND;
+ return YXML_ELEMSTART;
}
diff --git a/yxml.c.in b/yxml.c.in
index a4a7dc5..5ee9cbf 100644
--- a/yxml.c.in
+++ b/yxml.c.in
@@ -105,7 +105,7 @@ static inline int yxml_elemname(yxml_t *x, unsigned ch) {
static inline int yxml_elemnameend(yxml_t *x, unsigned ch) {
- return YXML_ELEMEND;
+ return YXML_ELEMSTART;
}