summaryrefslogtreecommitdiff
path: root/gcc/java/mangle.c
diff options
context:
space:
mode:
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-14 05:01:05 +0000
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-14 05:01:05 +0000
commit4654e794323c05fcfabee95cb2bf334fb30a3873 (patch)
treebf1619873e76c17441a1423f1eaba6a4a64f054a /gcc/java/mangle.c
parent86220f453c768a8deb58678e4010a892011a2cce (diff)
downloadgcc-4654e794323c05fcfabee95cb2bf334fb30a3873.tar.gz
Added Java 1.1 language features.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32517 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/mangle.c')
-rw-r--r--gcc/java/mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c
index d38a23a173e..e54df393989 100644
--- a/gcc/java/mangle.c
+++ b/gcc/java/mangle.c
@@ -56,7 +56,7 @@ unicode_mangling_length (name, len)
need_escapes += num_chars == 0;
else if (ch == '_')
underscores++;
- else if ((ch < 'a' || ch > 'z') && (ch < 'A' || ch > 'Z'))
+ else if (ch != '$' && (ch < 'a' || ch > 'z') && (ch < 'A' || ch > 'Z'))
need_escapes++;
num_chars++;
}