cplus-dem.c (demangle_qualified): Add a missing else which caused qualified...

cplus-dem.c (demangle_qualified): Add a missing else which caused
qualified names with temp,lates to be demangled improperly.

From-SVN: r19433
This commit is contained in:
Andrew MacLeod 1998-04-27 12:59:51 +00:00 committed by Andrew Macleod
parent 97d6fd65f3
commit 0762341703
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* cplus-dem.c (demangle_qualified): Replace missing else.
Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.

View File

@ -2324,7 +2324,7 @@ demangle_qualified (work, mangled, result, isfuncname, append)
success = do_type (work, mangled, &temp);
if (!success) break;
}
if (*mangled[0] == 'K')
else if (*mangled[0] == 'K')
{
int idx;
(*mangled)++;

View File

@ -1,3 +1,7 @@
Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* cplus-dem.c (demangle_qualified): Replace missing else.
Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the

View File

@ -2324,7 +2324,7 @@ demangle_qualified (work, mangled, result, isfuncname, append)
success = do_type (work, mangled, &temp);
if (!success) break;
}
if (*mangled[0] == 'K')
else if (*mangled[0] == 'K')
{
int idx;
(*mangled)++;