aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/xer_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'skeletons/xer_support.c')
-rw-r--r--skeletons/xer_support.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/skeletons/xer_support.c b/skeletons/xer_support.c
index 5ba60a04..b3833b58 100644
--- a/skeletons/xer_support.c
+++ b/skeletons/xer_support.c
@@ -206,6 +206,8 @@ ssize_t pxml_parse(int *stateContext, const void *xmlbuf, size_t size, pxml_call
case ST_COMMENT_CLO_RT:
if(C == RANGLE) {
TOKEN_CB_FINAL(PXML_COMMENT, ST_TEXT, 1);
+ } else if(C == CDASH) {
+ /* Maintain current state, still waiting for '>' */
} else {
state = ST_COMMENT;
}