mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 00:59:36 +08:00
jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f, not 0x1f.
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f, not 0x1f. From-SVN: r25369
This commit is contained in:
parent
b9ef73ea54
commit
a32999346f
@ -1,3 +1,8 @@
|
|||||||
|
1999-02-20 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
|
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
|
||||||
|
not 0x1f.
|
||||||
|
|
||||||
Sun Feb 21 14:56:11 1999 Per Bothner <bothner@cygnus.com>
|
Sun Feb 21 14:56:11 1999 Per Bothner <bothner@cygnus.com>
|
||||||
|
|
||||||
* decl.c (build_result_decl), java-tree.h: New method.
|
* decl.c (build_result_decl), java-tree.h: New method.
|
||||||
|
@ -241,7 +241,7 @@ extern int jcf_unexpected_eof PROTO ((JCF*, int));
|
|||||||
? (((PTR)[-2] & 0x1F) << 6) + ((PTR)[-1] & 0x3F) \
|
? (((PTR)[-2] & 0x1F) << 6) + ((PTR)[-1] & 0x3F) \
|
||||||
: (*(PTR) & 0xF0) == 0xE0 && ((PTR) += 3) <= (LIMIT) \
|
: (*(PTR) & 0xF0) == 0xE0 && ((PTR) += 3) <= (LIMIT) \
|
||||||
&& ((PTR)[-2] & 0xC0) == 0x80 && ((PTR)[-1] & 0xC0) == 0x80 \
|
&& ((PTR)[-2] & 0xC0) == 0x80 && ((PTR)[-1] & 0xC0) == 0x80 \
|
||||||
? (((PTR)[-3]&0x1F) << 12) + (((PTR)[-2]&0x3F) << 6) + ((PTR)[-1]&0x3F) \
|
? (((PTR)[-3]&0x0F) << 12) + (((PTR)[-2]&0x3F) << 6) + ((PTR)[-1]&0x3F) \
|
||||||
: ((PTR)++, -1))
|
: ((PTR)++, -1))
|
||||||
|
|
||||||
extern char *jcf_write_base_directory;
|
extern char *jcf_write_base_directory;
|
||||||
|
Loading…
Reference in New Issue
Block a user