diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-20 22:48:52 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-20 22:48:52 +0000 |
commit | 193252e8062f837e696673de91e12db084c38f20 (patch) | |
tree | 5b788177e2e59cd37cb0fc331ac39ef2ef8a32ac /gcc/java/mangle.c | |
parent | 4e480b44c401c1649c5944a95fce8663441b9561 (diff) | |
download | gcc-193252e8062f837e696673de91e12db084c38f20.tar.gz |
* mangle.c (mangle_member_name): Don't special-case for
NO_DOLLAR_IN_LABEL.
* mangle_name.c (unicode_mangling_length): Likewise.
(append_unicode_mangled_name): Likewise.
* parse.y (make_nested_class_name): Remove dead NO_DOLLAR_IN_LABEL
code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48220 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/mangle.c')
-rw-r--r-- | gcc/java/mangle.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c index d055c9cc433..590a9ad5143 100644 --- a/gcc/java/mangle.c +++ b/gcc/java/mangle.c @@ -180,19 +180,9 @@ mangle_member_name (name) append_gpp_mangled_name (IDENTIFIER_POINTER (name), IDENTIFIER_LENGTH (name)); - /* If NAME happens to be a C++ keyword, add `$' or `.' or `_'. */ + /* If NAME happens to be a C++ keyword, add `$'. */ if (cxx_keyword_p (IDENTIFIER_POINTER (name), IDENTIFIER_LENGTH (name))) - { -#ifndef NO_DOLLAR_IN_LABEL - obstack_1grow (mangle_obstack, '$'); -#else /* NO_DOLLAR_IN_LABEL */ -#ifndef NO_DOT_IN_LABEL - obstack_1grow (mangle_obstack, '.'); -#else /* NO_DOT_IN_LABEL */ - obstack_1grow (mangle_obstack, '_'); -#endif /* NO_DOT_IN_LABEL */ -#endif /* NO_DOLLAR_IN_LABEL */ - } + obstack_1grow (mangle_obstack, '$'); } /* Append the mangled name of TYPE onto OBSTACK. */ |