]> granicus.if.org Git - libexpat/commitdiff
Avoid C++ style comment
authorJames Clark <jjc@jclark.com>
Sat, 20 Mar 1999 02:35:09 +0000 (02:35 +0000)
committerJames Clark <jjc@jclark.com>
Sat, 20 Mar 1999 02:35:09 +0000 (02:35 +0000)
expat/xmlparse/xmlparse.c

index 05bc60fab7134d3bd9969842cf40d68e26d84ff6..3cdd71c57e0ce6ff26bcbb89506e09f839cac977 100755 (executable)
@@ -1180,8 +1180,8 @@ doContent(XML_Parser parser,
        tag->rawName = s + enc->minBytesPerChar;
        tag->rawNameLength = XmlNameLength(enc, tag->rawName);
        if (nextPtr) {
-         // Need to guarantee that:
-         // tag->buf + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)) <= tag->bufEnd - sizeof(XML_Char) 
+         /* Need to guarantee that:
+            tag->buf + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)) <= tag->bufEnd - sizeof(XML_Char) */
          if (tag->rawNameLength + (int)(sizeof(XML_Char) - 1) + (int)sizeof(XML_Char) > tag->bufEnd - tag->buf) {
            int bufSize = tag->rawNameLength * 4;
            bufSize = ROUND_UP(bufSize, sizeof(XML_Char));