This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [obvious] Doc fix for cp-namespace.c
- From: David Carlton <carlton at kealia dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 13 Nov 2003 11:35:02 -0800
- Subject: Re: [obvious] Doc fix for cp-namespace.c
- References: <vt2ekwcnpox.fsf@zenia.home>
On 13 Nov 2003 12:28:14 -0500, Jim Blandy <jimb@redhat.com> said:
> 2003-11-13 Jim Blandy <jimb@redhat.com>
> * 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 <carlton@kealia.com>
* 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