* [obvious] Doc fix for cp-namespace.c
@ 2003-11-13 17:30 Jim Blandy
2003-11-13 19:35 ` David Carlton
0 siblings, 1 reply; 2+ messages in thread
From: Jim Blandy @ 2003-11-13 17:30 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [obvious] Doc fix for cp-namespace.c
2003-11-13 17:30 [obvious] Doc fix for cp-namespace.c Jim Blandy
@ 2003-11-13 19:35 ` David Carlton
0 siblings, 0 replies; 2+ messages in thread
From: David Carlton @ 2003-11-13 19:35 UTC (permalink / raw)
To: Jim Blandy; +Cc: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-13 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 17:30 [obvious] Doc fix for cp-namespace.c Jim Blandy
2003-11-13 19:35 ` David Carlton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox