diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/java/gjavah.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 33afaae..5526e4e 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,7 @@ 2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * gjavah.c (jni_print_char): Fix thinko in last change. + * gjavah.c (jni_print_char, decode_signature_piece): Use safe-ctype macros and/or fold extra calls into fewer ones. * lex.c (java_read_unicode, java_lex): Likewise. diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index d4de85b..b28b7d2 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -287,7 +287,7 @@ jni_print_char (stream, ch) fputs ("_3", stream); else if (ch == '/') fputs ("_", stream); - else if (ISXDIGIT (ch)) + else if (ISALNUM (ch)) fputc (ch, stream); else { |