merge from gcc

This commit is contained in:
DJ Delorie
2003-12-20 16:06:10 +00:00
parent 59207364ed
commit 2730f65149
3 changed files with 17 additions and 0 deletions

View File

@@ -1341,6 +1341,13 @@ d_identifier (di, len)
name = d_str (di);
d_advance (di, len);
/* A Java mangled name may have a trailing '$' if it is a C++
keyword. This '$' is not included in the length count. We just
ignore the '$'. */
if ((di->options & DMGL_JAVA) != 0
&& d_peek_char (di) == '$')
d_advance (di, 1);
/* Look for something which looks like a gcc encoding of an
anonymous namespace, and replace it with a more user friendly
name. */