From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14760 invoked by alias); 13 Nov 2003 19:35:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14739 invoked from network); 13 Nov 2003 19:35:03 -0000 Received: from unknown (HELO hawaii.kealia.com) (209.3.10.89) by sources.redhat.com with SMTP; 13 Nov 2003 19:35:03 -0000 Received: by hawaii.kealia.com (Postfix, from userid 2049) id 06E4BC6AF; Thu, 13 Nov 2003 11:35:02 -0800 (PST) To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: [obvious] Doc fix for cp-namespace.c References: From: David Carlton Date: Thu, 13 Nov 2003 19:35:00 -0000 In-Reply-To: (Jim Blandy's message of "13 Nov 2003 12:28:14 -0500") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00274.txt.bz2 On 13 Nov 2003 12:28:14 -0500, Jim Blandy said: > 2003-11-13 Jim Blandy > * cp-namespace.c: Doc fix. Thanks! You missed one, though, so I've commited the following patch. David Carlton carlton@kealia.com 2003-11-13 David Carlton * cp-namespace.c (lookup_namespace_scope): Fix typo in comment. Index: cp-namespace.c =================================================================== RCS file: /cvs/src/src/gdb/cp-namespace.c,v retrieving revision 1.6 diff -u -p -r1.6 cp-namespace.c --- cp-namespace.c 13 Nov 2003 17:28:37 -0000 1.6 +++ cp-namespace.c 13 Nov 2003 19:17:23 -0000 @@ -340,7 +340,7 @@ cp_lookup_symbol_nonlocal (const char *n cp_lookup_symbol_nonlocal. For example, if we're within a function A::B::f and looking for a - symbol x, this will get called with NAME = "f", SCOPE = "A::B", and + symbol x, this will get called with NAME = "x", SCOPE = "A::B", and SCOPE_LEN = 0. It then calls itself with NAME and SCOPE the same, but with SCOPE_LEN = 1. And then it calls itself with NAME and SCOPE the same, but with SCOPE_LEN = 4. This third call looks for