* symtab.c (default_make_symbol_completion_list): Keep
':', too, so that we can limit searches in namespaces and classes.
This commit is contained in:
parent
f9f7ad22a0
commit
95699ff037
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-08-24 Keith Seitz <keiths@redhat.com>
|
||||||
|
|
||||||
|
* symtab.c (default_make_symbol_completion_list): Keep
|
||||||
|
':', too, so that we can limit searches in namespaces
|
||||||
|
and classes.
|
||||||
|
|
||||||
2009-08-24 Tom Tromey <tromey@redhat.com>
|
2009-08-24 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* python/python-value.c (valpy_richcompare): Don't return from
|
* python/python-value.c (valpy_richcompare): Don't return from
|
||||||
|
|
|
@ -3836,7 +3836,8 @@ default_make_symbol_completion_list (char *text, char *word)
|
||||||
which are in symbols. */
|
which are in symbols. */
|
||||||
while (p > text)
|
while (p > text)
|
||||||
{
|
{
|
||||||
if (isalnum (p[-1]) || p[-1] == '_' || p[-1] == '\0')
|
if (isalnum (p[-1]) || p[-1] == '_' || p[-1] == '\0'
|
||||||
|
|| p[-1] == ':')
|
||||||
--p;
|
--p;
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue