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:
parent
259a2006a1
commit
0786d75e67
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user