Re: [RFA] Limit qualified completions

Daniel Jacobowitz
2009-08-19T02:44:15Z

On Tue, Aug 18, 2009 at 04:39:37PM -0700, Keith Seitz wrote:
> Hi,
>
> If the user attempts to complete symbols in a class or namespace,
> i.e., "complete break foo::", default_make_symbol_completion_list
> will return every single known global symbol in the executable.
>
> This simplistic patch (and test case) "fixes" the problem, limiting
> the matches to the appropriate symbols.
>
> Ok?

It seems to me like there must be a bigger problem with the character
list; what if foo is a template?

--
Daniel Jacobowitz
CodeSourcery