1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00

Correct C dremove() implementation (not used for implementation of the Lisp DREMOVE function)

The C translation didn't observe that the value of (COND (C X)) is NIL if not C.

	modified:   src/storage.c
This commit is contained in:
Nick Briggs 2020-12-11 16:20:33 -08:00
parent 259a2006a1
commit 0786d75e67

View File

@ -252,7 +252,8 @@ LispPTR dremove(LispPTR x, LispPTR l) {
rplaca(l, car(cdr(l)));
rplacd(l, cdr(cdr(l)));
return (dremove(x, l));
}
} else
return (NIL);
} else {
z = l;
lp: