fix a small bug in a comment

This commit is contained in:
Yuichi Nishiwaki 2014-01-10 16:22:07 +09:00
parent 9b02247082
commit 2e66b533c1
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ new_uniq_sym(pic_state *pic, pic_sym base)
str = (char *)pic_alloc(pic, strlen(pic_symbol_name(pic, base)) + (int)log10(s) + 3); str = (char *)pic_alloc(pic, strlen(pic_symbol_name(pic, base)) + (int)log10(s) + 3);
sprintf(str, "%s@%d", pic_symbol_name(pic, base), s); sprintf(str, "%s@%d", pic_symbol_name(pic, base), s);
/* don't put the symbol to ic->sym_tbl to keep it uninterned */ /* don't put the symbol to pic->sym_tbl to keep it uninterned */
if (pic->slen >= pic->scapa) { if (pic->slen >= pic->scapa) {
pic->scapa *= 2; pic->scapa *= 2;
pic->sym_pool = pic_realloc(pic, pic->sym_pool, sizeof(const char *) * pic->scapa); pic->sym_pool = pic_realloc(pic, pic->sym_pool, sizeof(const char *) * pic->scapa);