This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/5357] New: member completion only searching current object
- From: "cagney at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 19 Nov 2007 15:35:34 -0000
- Subject: [Bug general/5357] New: member completion only searching current object
- Reply-to: sourceware-bugzilla at sourceware dot org
The code reads:
public boolean completeMember(String incomplete, List candidates) {
int completions = 0;
for (Iterator i = nameToMember.keySet().iterator(); i.hasNext(); ) {
String member = (String)i.next();
if (member.startsWith(incomplete)) {
completions++;
candidates.add(member);
}
}
return completions > 0;
}
which works for C, but not C++
--
Summary: member completion only searching current object
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: cagney at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5357
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.