Skip to content

Commit

Permalink
Update arty.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodan58 committed Nov 9, 2023
1 parent dc60166 commit 6671273
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arty.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
module : arty.c
version : 1.6
date : 11/06/23
version : 1.7
date : 11/09/23
*/
#include "globals.h"

Expand Down Expand Up @@ -44,7 +44,8 @@ PUBLIC int arity(pEnv env, NodeList *quot, int num)
} else if (*str == 'P') { /* previous */
if (prev.op != LIST_)
return -1;
list = pvec_concat(list, prev.u.lis);
if (prev.u.lis) /* prevent empty */
list = pvec_concat(list, prev.u.lis);
} else if (*str == 'U') /* unknown */
return -1;
break;
Expand Down

0 comments on commit 6671273

Please sign in to comment.