bug-fix: append new symbol to last one
This commit is contained in:
parent
3c5f91dd0b
commit
b312efa57b
@ -2662,6 +2662,8 @@ static symbol *add_symbol(symbol *root,symbol *entry,int sort)
|
|||||||
} /* if */
|
} /* if */
|
||||||
new_cache_sym->symbol=newsym;
|
new_cache_sym->symbol=newsym;
|
||||||
new_cache_sym->next=NULL;
|
new_cache_sym->next=NULL;
|
||||||
|
while(cache_sym->next!=NULL)
|
||||||
|
cache_sym=cache_sym->next;
|
||||||
cache_sym->next=new_cache_sym;
|
cache_sym->next=new_cache_sym;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user