Honest to goodness, the copy in my outbox has them....
Error : ')' expected
xmltok_impl.c line 106 int PREFIX(scanComment)(const ENCODING *enc, const
char *ptr, const char *end,
Error : declaration syntax error
xmltok_impl.c line 107 const char **nextTokPtr)
Error : declaration syntax error
xmltok_impl.c line 108 {
Error : declaration syntax error
xmltok_impl.c line 109 if (ptr != end) {
Error : declaration syntax error
xmltok_impl.c line 110 if (!CHAR_MATCHES(enc, ptr, '-')) {
Error : declaration syntax error
xmltok_impl.c line 111 *nextTokPtr = ptr;
Error : declaration syntax error
xmltok_impl.c line 112 return XML_TOK_INVALID;
Error : declaration syntax error
xmltok_impl.c line 113 }
Error : declaration syntax error
xmltok_impl.c line 114 ptr += MINBPC;
Error : declaration syntax error
xmltok_impl.c line 115 while (ptr != end) {
Error : declaration syntax error
xmltok_impl.c line 116 switch (BYTE_TYPE(enc, ptr)) {
Error : illegal use of keyword
xmltok_impl.c line 117 case BT_LEAD2: if (end - ptr < 2) return
XML_TOK_PARTIAL_CHAR; if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } p
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 117 (end - ptr < 2) return XML_TOK_PARTIAL_CHAR; if
((0)) { *(nextTokPtr) = (ptr); return XML_TOK_INVALID; } ptr += 2; break; ca
Error : illegal use of keyword
xmltok_impl.c line 117 L_CHAR; if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } ptr += 2; break; case BT_LEAD3: if (end - ptr < 3) retur
Error : illegal use of keyword
xmltok_impl.c line 117 if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } ptr += 2; break; case BT_LEAD3: if (end - ptr < 3)
return XML_TO
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 117 (end - ptr < 3) return XML_TOK_PARTIAL_CHAR; if
((0)) { *(nextTokPtr) = (ptr); return XML_TOK_INVALID; } ptr += 3; break; ca
Error : illegal use of keyword
xmltok_impl.c line 117 L_CHAR; if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } ptr += 3; break; case BT_LEAD4: if (end - ptr < 4) retur
Error : illegal use of keyword
xmltok_impl.c line 117 if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } ptr += 3; break; case BT_LEAD4: if (end - ptr < 4)
return XML_TO
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 117 (end - ptr < 4) return XML_TOK_PARTIAL_CHAR; if
((0)) { *(nextTokPtr) = (ptr); return XML_TOK_INVALID; } ptr += 4; break; cas
Error : illegal use of keyword
xmltok_impl.c line 117 L_CHAR; if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } ptr += 4; break; case BT_NONXML: case BT_MALFORM: case BT
Error : illegal use of keyword
xmltok_impl.c line 117 if ((0)) { *(nextTokPtr) = (ptr); return
XML_TOK_INVALID; } ptr += 4; break; case BT_NONXML: case BT_MALFORM: case
BT_TRAIL:
Error : illegal use of keyword
xmltok_impl.c line 118 case BT_MINUS:
Error : illegal operand
xmltok_impl.c line 119 if ((ptr += MINBPC) == end)
Error : undefined identifier 'XML_TOK_PARTIAL'
xmltok_impl.c line 120 return XML_TOK_PARTIAL;
Error : function has no prototype
xmltok_impl.c line 121 if (CHAR_MATCHES(enc, ptr, '-')) {
Error : illegal operand
xmltok_impl.c line 122 if ((ptr += MINBPC) == end)
Error : undefined identifier 'XML_TOK_PARTIAL'
xmltok_impl.c line 123 return XML_TOK_PARTIAL;
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 125 *nextTokPtr = ptr;
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 128 *nextTokPtr = ptr + MINBPC;
Error : undefined identifier 'XML_TOK_COMMENT'
xmltok_impl.c line 129 return XML_TOK_COMMENT;
Error : illegal use of keyword
xmltok_impl.c line 132 default:
Error : ';' expected
xmltok_impl.c line 133 ptr += MINBPC;
Error : illegal use of keyword
xmltok_impl.c line 134 break;
Error : declaration syntax error
xmltok_impl.c line 136 }
Error : declaration syntax error
xmltok_impl.c line 137 }
Error : declaration syntax error
xmltok_impl.c line 138 return XML_TOK_PARTIAL;
Error : declaration syntax error
xmltok_impl.c line 139 }
Error : ')' expected
xmltok_impl.c line 144 int PREFIX(scanDecl)(const ENCODING *enc, const
char *ptr, const char *end,
Error : declaration syntax error
xmltok_impl.c line 145 const char **nextTokPtr)
Error : declaration syntax error
xmltok_impl.c line 146 {
Error : declaration syntax error
xmltok_impl.c line 147 if (ptr == end)
Error : declaration syntax error
xmltok_impl.c line 148 return XML_TOK_PARTIAL;
Error : declaration syntax error
xmltok_impl.c line 149 switch (BYTE_TYPE(enc, ptr)) {
Error : illegal use of keyword
xmltok_impl.c line 150 case BT_MINUS:
Error : function call does not match prototype
xmltok_impl.c line 151 return PREFIX(scanComment)(enc, ptr + MINBPC,
end, nextTokPtr);
Error : illegal use of keyword
xmltok_impl.c line 152 case BT_LSQB:
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 153 *nextTokPtr = ptr + MINBPC;
Error : undefined identifier 'XML_TOK_COND_SECT_OPEN'
xmltok_impl.c line 154 return XML_TOK_COND_SECT_OPEN;
Error : illegal use of keyword
xmltok_impl.c line 155 case BT_NMSTRT:
Error : illegal use of keyword
xmltok_impl.c line 156 case BT_HEX:
Error : illegal use of keyword
xmltok_impl.c line 158 break;
Error : illegal use of keyword
xmltok_impl.c line 159 default:
Error : illegal operand
xmltok_impl.c line 160 *nextTokPtr = ptr;
Error : declaration syntax error
xmltok_impl.c line 163 while (ptr != end) {
Error : declaration syntax error
xmltok_impl.c line 164 switch (BYTE_TYPE(enc, ptr)) {
Error : illegal use of keyword
xmltok_impl.c line 165 case BT_PERCNT:
Error : illegal operand
xmltok_impl.c line 166 if (ptr + MINBPC == end)
Error : undefined identifier 'BT_S'
xmltok_impl.c line 170 case BT_S: case BT_CR: case BT_LF: case
BT_PERCNT:
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 171 *nextTokPtr = ptr;
Error : illegal use of keyword
xmltok_impl.c line 175 case BT_S: case BT_CR: case BT_LF:
Error : cannot convert
'int' to
'char *'
xmltok_impl.c line 176 *nextTokPtr = ptr;
Error : undefined identifier 'XML_TOK_DECL_OPEN'
xmltok_impl.c line 177 return XML_TOK_DECL_OPEN;
Error : illegal use of keyword
xmltok_impl.c line 178 case BT_NMSTRT:
Error : illegal use of keyword
xmltok_impl.c line 179 case BT_HEX:
Error : illegal use of keyword
xmltok_impl.c line 181 break;
Error : illegal use of keyword
xmltok_impl.c line 182 default:
Error : illegal operand
xmltok_impl.c line 183 *nextTokPtr = ptr;
Error : declaration syntax error
xmltok_impl.c line 186 }
Error : declaration syntax error
xmltok_impl.c line 187 return XML_TOK_PARTIAL;
Error : declaration syntax error
xmltok_impl.c line 188 }
Error : ')' expected
xmltok_impl.c line 191 int PREFIX(checkPiTarget)(const ENCODING *enc,
const char *ptr, const char *end, int *tokPtr)
Error : declaration syntax error
xmltok_impl.c line 192 {
Error : declaration syntax error
xmltok_impl.c line 194 *tokPtr = XML_TOK_PI;
Error : declaration syntax error
xmltok_impl.c line 195 if (end - ptr != MINBPC*3)
Error : declaration syntax error
xmltok_impl.c line 196 return 1;
Error : declaration syntax error
xmltok_impl.c line 197 switch (BYTE_TO_ASCII(enc, ptr)) {
Error : illegal use of keyword
xmltok_impl.c line 198 case 'x':
Error : illegal use of keyword
xmltok_impl.c line 199 break;
Error : illegal use of keyword
xmltok_impl.c line 200 case 'X':
Error : illegal use of keyword
xmltok_impl.c line 202 break;
Error : illegal use of keyword
xmltok_impl.c line 203 default:
Error : ';' expected
xmltok_impl.c line 204 return 1;
Error : declaration syntax error
xmltok_impl.c line 206 ptr += MINBPC;
Error : declaration syntax error
xmltok_impl.c line 207 switch (BYTE_TO_ASCII(enc, ptr)) {
Error : illegal use of keyword
xmltok_impl.c line 208 case 'm':
Error : illegal use of keyword
xmltok_impl.c line 209 break;
Error : illegal use of keyword
xmltok_impl.c line 210 case 'M':
Error : illegal use of keyword
xmltok_impl.c line 212 break;
Error : illegal use of keyword
xmltok_impl.c line 213 default:
Error : ';' expected
xmltok_impl.c line 214 return 1;
Error : declaration syntax error
xmltok_impl.c line 216 ptr += MINBPC;
Error : declaration syntax error
xmltok_impl.c line 217 switch (BYTE_TO_ASCII(enc, ptr)) {
Error : illegal use of keyword
xmltok_impl.c line 218 case 'l':
Error : illegal use of keyword
xmltok_impl.c line 219 break;
Error : illegal use of keyword
xmltok_impl.c line 220 case 'L':
Error : illegal use of keyword
xmltok_impl.c line 222 break;
Error : illegal use of keyword
xmltok_impl.c line 223 default:
Error : ';' expected
xmltok_impl.c line 224 return 1;
Error : declaration syntax error
xmltok_impl.c line 226 if (upper)
Error : declaration syntax error
xmltok_impl.c line 227 return 0;
Error : cannot convert
'char *' to
'const unsigned char *'
xmltok.c line 1024 utf8 = buf;
Error : cannot convert
'unsigned char *' to
'char *'
xmltok.c line 1116 e->utf8[i][0] = (char)XmlUtf8Encode(c,
e->utf8[i] + 1);
John Brewer
Jera Design
Double-click anywhere with JarRunner! http://www.jera.com/jarrunner/