Parent Directory | Revision Log | Patch
revision 1.39 by ttn, Sun Aug 7 10:44:16 2005 UTC | revision 1.40 by cyd, Tue Sep 20 13:19:29 2005 UTC | |
---|---|---|
# | Line 648 add_sym (name, nested_in_class) | Line 648 add_sym (name, nested_in_class) |
648 | h %= TABLE_SIZE; | h %= TABLE_SIZE; |
649 | ||
650 | for (sym = class_table[h]; sym; sym = sym->next) | for (sym = class_table[h]; sym; sym = sym->next) |
651 | if (streq (name, sym->name) && sym->namesp == scope) | if (streq (name, sym->name) |
652 | && ((!sym->namesp && !scope) | |
653 | || (sym->namesp && scope | |
654 | && streq (sym->namesp->name, scope->name)))) | |
655 | break; | break; |
656 | ||
657 | if (sym == NULL) | if (sym == NULL) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |