Merge pull request #41 from omasanori/miscompare
Fix a bug due to the operator precedence of C.
This commit is contained in:
commit
6c8b74b612
2
lib.c
2
lib.c
|
@ -158,7 +158,7 @@ export(pic_state *pic, pic_value spec)
|
||||||
} else { /* (export (rename a b)) */
|
} else { /* (export (rename a b)) */
|
||||||
if (! pic_list_p(spec))
|
if (! pic_list_p(spec))
|
||||||
goto fail;
|
goto fail;
|
||||||
if (! pic_length(pic, spec) == 3)
|
if (! (pic_length(pic, spec) == 3))
|
||||||
goto fail;
|
goto fail;
|
||||||
if (! pic_eq_p(pic_car(pic, spec), pic_sym_value(sRENAME)))
|
if (! pic_eq_p(pic_car(pic, spec), pic_sym_value(sRENAME)))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in New Issue