Skip to content

Commit

Permalink
Fixed plet syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sasagawa888 committed Sep 10, 2023
1 parent 6bb26ff commit 3899de3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions function.c
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,7 @@ int f_map_into(int arglist, int th)
arg2 = cadr(arglist);
arg3 = cddr(arglist);

arg4 = NIL;
if (listp(arg1) && nullp(arg3))
arg4 = arg1;
else if (listp(arg1))
Expand Down
1 change: 1 addition & 0 deletions syntax.c
Original file line number Diff line number Diff line change
Expand Up @@ -2726,6 +2726,7 @@ int f_plet(int arglist, int th __unused)
i++;
}

res = NIL;
while (arg2 != NIL) {
shelter_push(arg2, 0);
res = eval(car(arg2), 0);
Expand Down

0 comments on commit 3899de3

Please sign in to comment.