[bugfix] log10 must not be given 0

This commit is contained in:
Yuichi Nishiwaki 2013-11-26 04:06:03 -08:00
parent b7f0f3dfb3
commit 573ba79782
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ pic_macroexpand(pic_state *pic, pic_value obj)
static pic_sym static pic_sym
new_uniq_sym(pic_state *pic, pic_sym base) new_uniq_sym(pic_state *pic, pic_sym base)
{ {
int s = pic->uniq_sym_count++; int s = ++pic->uniq_sym_count;
char *str; char *str;
pic_sym uniq; pic_sym uniq;