* ada-lang.c (compare_names): Call is_name_suffix with string1
instead of string2.
This commit is contained in:
parent
6bf58e63b7
commit
052874e8a4
@ -1,3 +1,8 @@
|
||||
2011-03-07 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* ada-lang.c (compare_names): Call is_name_suffix with string1
|
||||
instead of string2.
|
||||
|
||||
2011-03-07 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* xcoffread.c (xcoff_sym_fns): Update.
|
||||
|
@ -4757,7 +4757,7 @@ compare_names (const char *string1, const char *string2)
|
||||
case '_':
|
||||
if (*string2 == '\0')
|
||||
{
|
||||
if (is_name_suffix (string2))
|
||||
if (is_name_suffix (string1))
|
||||
return 0;
|
||||
else
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user