more robust comments parsing


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@886 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/xer_support.c b/skeletons/xer_support.c
index 5ba60a0..b3833b5 100644
--- a/skeletons/xer_support.c
+++ b/skeletons/xer_support.c
@@ -206,6 +206,8 @@
 	  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;
 		}