Version 2.9a - 23rd September 2019
Fixed return from progn
This commit is contained in:
parent
d4f0948576
commit
387d6b9fee
|
@ -1,5 +1,5 @@
|
||||||
/* uLisp ARM 2.9 - www.ulisp.com
|
/* uLisp ARM 2.9a - www.ulisp.com
|
||||||
David Johnson-Davies - www.technoblogy.com - 20th September 2019
|
David Johnson-Davies - www.technoblogy.com - 23rd September 2019
|
||||||
|
|
||||||
Licensed under the MIT license: https://opensource.org/licenses/MIT
|
Licensed under the MIT license: https://opensource.org/licenses/MIT
|
||||||
*/
|
*/
|
||||||
|
@ -1787,7 +1787,8 @@ object *tf_progn (object *args, object *env) {
|
||||||
if (args == NULL) return nil;
|
if (args == NULL) return nil;
|
||||||
object *more = cdr(args);
|
object *more = cdr(args);
|
||||||
while (more != NULL) {
|
while (more != NULL) {
|
||||||
eval(car(args), env);
|
object *result = eval(car(args),env);
|
||||||
|
if (tstflag(RETURNFLAG)) return result;
|
||||||
args = more;
|
args = more;
|
||||||
more = cdr(args);
|
more = cdr(args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue