Merge branch 'issue-146'

This commit is contained in:
Yuichi Nishiwaki 2014-06-26 00:58:41 +09:00
commit 6c8c46d295
1 changed files with 4 additions and 0 deletions

View File

@ -444,6 +444,8 @@ pic_eq_p(pic_value x, pic_value y)
switch (pic_type(x)) {
case PIC_TT_NIL:
return true;
case PIC_TT_BOOL:
return pic_vtype(x) == pic_vtype(y);
case PIC_TT_SYMBOL:
return pic_sym(x) == pic_sym(y);
default:
@ -460,6 +462,8 @@ pic_eqv_p(pic_value x, pic_value y)
switch (pic_type(x)) {
case PIC_TT_NIL:
return true;
case PIC_TT_BOOL:
return pic_vtype(x) == pic_vtype(y);
case PIC_TT_SYMBOL:
return pic_sym(x) == pic_sym(y);
case PIC_TT_FLOAT: