xmltok.c: Address warnings about accidental non-ASCII dashes in comments (#355)

This commit is contained in:
Sebastian Pipping 2019-10-01 21:50:11 +02:00
parent c675d2d9da
commit 5123c8ed95
2 changed files with 6 additions and 3 deletions

View file

@ -5,7 +5,10 @@ NOTE: We are looking for help with a few things:
Release x.x.x xxx xxxxxxxxx xx xxxx
Other changes:
#354 Fix testsuite for -DEXPAT_DTD=OFF and -DEXPAT_NS=OFF, each
#354 Address compiler warnings
#354 #355 Address compiler warnings
Special thanks to:
Ma Lin
Release 2.2.9 Wed September 25 2019
Other changes:

View file

@ -589,13 +589,13 @@ static const struct normal_encoding ascii_encoding
static int PTRFASTCALL
unicode_byte_type(char hi, char lo) {
switch ((unsigned char)hi) {
/* 0xD8000xDBFF first 16-bit code unit or high surrogate (W1) */
/* 0xD800-0xDBFF first 16-bit code unit or high surrogate (W1) */
case 0xD8:
case 0xD9:
case 0xDA:
case 0xDB:
return BT_LEAD4;
/* 0xDC000xDFFF second 16-bit code unit or low surrogate (W2) */
/* 0xDC00-0xDFFF second 16-bit code unit or low surrogate (W2) */
case 0xDC:
case 0xDD:
case 0xDE: