aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/.gitignore1
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/ebrowse.c5
3 files changed, 11 insertions, 1 deletions
diff --git a/lib-src/.gitignore b/lib-src/.gitignore
index 66933a62c36..83a67e67579 100644
--- a/lib-src/.gitignore
+++ b/lib-src/.gitignore
@@ -20,5 +20,6 @@ test-distrib
20update-game-score 20update-game-score
21yow 21yow
22Makefile 22Makefile
23makefile
23*-spd 24*-spd
24*.pdb 25*.pdb
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 76e56e77e16..7d22972794f 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12005-09-20 Chong Yidong <cyd@stupidchicken.com>
2
3 * ebrowse.c (add_sym): Compare namespace names instead of
4 namespace objects. This prevents the parser from incorrectly
5 treating classes whose superclass is in another namespace.
6
12005-09-15 Richard M. Stallman <rms@gnu.org> 72005-09-15 Richard M. Stallman <rms@gnu.org>
2 8
3 * Makefile.in (update-game-score.o): New target. 9 * Makefile.in (update-game-score.o): New target.
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index 49e353cf536..a9a3eb78442 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -648,7 +648,10 @@ add_sym (name, nested_in_class)
648 h %= TABLE_SIZE; 648 h %= TABLE_SIZE;
649 649
650 for (sym = class_table[h]; sym; sym = sym->next) 650 for (sym = class_table[h]; sym; sym = sym->next)
651 if (streq (name, sym->name) && sym->namesp == scope) 651 if (streq (name, sym->name)
652 && ((!sym->namesp && !scope)
653 || (sym->namesp && scope
654 && streq (sym->namesp->name, scope->name))))
652 break; 655 break;
653 656
654 if (sym == NULL) 657 if (sym == NULL)