Splice_back may work if old & new are the same list.
This commit is contained in:
1 parent
0b8759380b
commit
a116daa7a1
1 file changed
+1
-1
@@ -488,7 +488,7 @@
|
|||||||
{ \
|
{ \
|
||||||
LISTI_CONTRACT(nv); \
|
LISTI_CONTRACT(nv); \
|
||||||
LISTI_CONTRACT(ov); \
|
LISTI_CONTRACT(ov); \
|
||||||
assert (it != NULL && nv != ov); \
|
assert (it != NULL); \
|
||||||
assert (it->current != NULL); \
|
assert (it->current != NULL); \
|
||||||
assert (M_C(name, _sublist_p)(ov, it)); \
|
assert (M_C(name, _sublist_p)(ov, it)); \
|
||||||
/* Remove it from ov */ \
|
/* Remove it from ov */ \
|
||||||
|
|||||||
Reference in new issue
Block a user