From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23292 invoked by alias); 19 Nov 2007 15:35:44 -0000 Received: (qmail 23260 invoked by uid 48); 19 Nov 2007 15:35:34 -0000 Date: Mon, 19 Nov 2007 15:35:00 -0000 From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20071119153534.5357.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5357] New: member completion only searching current object X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00210.txt.bz2 List-Id: 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.