Merge branch 'master' of https://github.com/wasabiz/picrin
This commit is contained in:
commit
ab52eca8ce
|
@ -501,6 +501,10 @@ pic_pair_append(pic_state *pic)
|
||||||
|
|
||||||
pic_get_args(pic, "*", &argc, &args);
|
pic_get_args(pic, "*", &argc, &args);
|
||||||
|
|
||||||
|
if (argc == 0) {
|
||||||
|
return pic_nil_value();
|
||||||
|
}
|
||||||
|
|
||||||
list = args[--argc];
|
list = args[--argc];
|
||||||
|
|
||||||
while (argc-- > 0) {
|
while (argc-- > 0) {
|
||||||
|
|
Loading…
Reference in New Issue