This commit is contained in:
Yuichi Nishiwaki 2014-02-13 15:01:01 +09:00
parent f9046cc614
commit 64cdd5f152
2 changed files with 1 additions and 3 deletions

View File

@ -159,7 +159,7 @@ pic_defmacro(pic_state *pic, const char *name, struct pic_proc *macro)
xh_put_int(pic->macros, uniq, (long)mac);
/* auto export! */
pic_export(pic, pic_intern_cstr(pic, name));
pic_export(pic, sym);
}
static pic_sym

View File

@ -48,8 +48,6 @@ pic_gensym(pic_state *pic, pic_sym base)
bool
pic_interned_p(pic_state *pic, pic_sym sym)
{
assert(sym >= 0);
return sym == pic_intern_cstr(pic, pic_symbol_name(pic, sym));
}