mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-27 21:46:54 +08:00
* symtab.c (default_make_symbol_completion_list): Keep
':', too, so that we can limit searches in namespaces and classes.
This commit is contained in:
@ -3836,7 +3836,8 @@ default_make_symbol_completion_list (char *text, char *word)
|
||||
which are in symbols. */
|
||||
while (p > text)
|
||||
{
|
||||
if (isalnum (p[-1]) || p[-1] == '_' || p[-1] == '\0')
|
||||
if (isalnum (p[-1]) || p[-1] == '_' || p[-1] == '\0'
|
||||
|| p[-1] == ':')
|
||||
--p;
|
||||
else
|
||||
break;
|
||||
|
Reference in New Issue
Block a user