From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10485 invoked by alias); 13 Nov 2003 17:30: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 10477 invoked from network); 13 Nov 2003 17:30:03 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 13 Nov 2003 17:30:03 -0000 Received: by zenia.home (Postfix, from userid 5433) id 5929920766; Thu, 13 Nov 2003 12:28:14 -0500 (EST) To: gdb-patches@sources.redhat.com Subject: [obvious] Doc fix for cp-namespace.c From: Jim Blandy Date: Thu, 13 Nov 2003 17:30:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00266.txt.bz2 2003-11-13 Jim Blandy * cp-namespace.c: Doc fix. Index: gdb/cp-namespace.c =================================================================== RCS file: /cvs/src/src/gdb/cp-namespace.c,v retrieving revision 1.5 diff -c -r1.5 cp-namespace.c *** gdb/cp-namespace.c 25 Sep 2003 16:39:38 -0000 1.5 --- gdb/cp-namespace.c 13 Nov 2003 17:26:36 -0000 *************** *** 340,346 **** cp_lookup_symbol_nonlocal. For example, if we're within a function A::B::f and looking for a ! symbol f, this will get called with NAME = "f", 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 --- 340,346 ---- 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 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