Lines Matching defs:next
696 struct symbol *next = sym;
698 while ((next = next->next_id) != NULL) {
699 if (next->namespace != sym->namespace)
701 if (sym->scope == next->scope) {
702 sym->same_symbol = next;
703 inherit_declaration(sym, next);
708 if ((next->ctype.modifiers & (MOD_TOPLEVEL|MOD_STATIC)) == MOD_TOPLEVEL) {
709 sym->same_symbol = next;
716 if (get_sym_type(next) == SYM_FN)
720 info(next->pos, "originally declared here");