From 573ba797827b41b5fa021a049aa7cc4972fa0972 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 26 Nov 2013 04:06:03 -0800 Subject: [PATCH] [bugfix] log10 must not be given 0 --- src/macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macro.c b/src/macro.c index 0c930eea..0ce04855 100644 --- a/src/macro.c +++ b/src/macro.c @@ -199,7 +199,7 @@ pic_macroexpand(pic_state *pic, pic_value obj) static pic_sym new_uniq_sym(pic_state *pic, pic_sym base) { - int s = pic->uniq_sym_count++; + int s = ++pic->uniq_sym_count; char *str; pic_sym uniq;