137 |
fprintf(f, "%3d ", charlength); |
fprintf(f, "%3d ", charlength); |
138 |
while (charlength > 0) |
while (charlength > 0) |
139 |
{ |
{ |
140 |
int extra = print_char(f, ccode, utf8); |
int extrabytes = print_char(f, ccode, utf8); |
141 |
ccode += 1 + extra; |
ccode += 1 + extrabytes; |
142 |
charlength -= 1 + extra; |
charlength -= 1 + extrabytes; |
143 |
} |
} |
144 |
} |
} |
145 |
break; |
break; |
301 |
|
|
302 |
if (*code == OP_XCLASS) |
if (*code == OP_XCLASS) |
303 |
{ |
{ |
304 |
int c; |
int ch; |
305 |
while ((c = *ccode++) != XCL_END) |
while ((ch = *ccode++) != XCL_END) |
306 |
{ |
{ |
307 |
ccode += 1 + print_char(f, ccode, TRUE); |
ccode += 1 + print_char(f, ccode, TRUE); |
308 |
if (c == XCL_RANGE) |
if (ch == XCL_RANGE) |
309 |
{ |
{ |
310 |
fprintf(f, "-"); |
fprintf(f, "-"); |
311 |
ccode += 1 + print_char(f, ccode, TRUE); |
ccode += 1 + print_char(f, ccode, TRUE); |