summaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-11-13 17:28:38 +0000
committerJim Blandy <jimb@codesourcery.com>2003-11-13 17:28:38 +0000
commit40f9684515a1eb596324f2a3ee580fdade748c78 (patch)
treebf11213b7ef583662b900f039f2b097e24189fae /gdb/cp-namespace.c
parentaddc8d835f18a8ebb62c918aa6fc309156bd8dbe (diff)
downloadgdb-40f9684515a1eb596324f2a3ee580fdade748c78.tar.gz
* cp-namespace.c: Doc fix.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r--gdb/cp-namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 75104ac2d6e..652791a9a3b 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -340,7 +340,7 @@ cp_lookup_symbol_nonlocal (const char *name,
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
+ 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