This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[obvious] Doc fix for cp-namespace.c
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 13 Nov 2003 12:28:14 -0500
- Subject: [obvious] Doc fix for cp-namespace.c
2003-11-13 Jim Blandy <jimb@redhat.com>
* 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