mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* ada-lang.c (compare_names): Call is_name_suffix with string1
instead of string2.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user