Set correct last_used when creating new vlist.
This commit is contained in:
parent
95f927ae95
commit
823c53308c
2
vlist.py
2
vlist.py
|
|
@ -35,7 +35,7 @@ p2 = (o4, 0) # points to 9
|
||||||
|
|
||||||
def cons(thing, vlist_ptr):
|
def cons(thing, vlist_ptr):
|
||||||
if not vlist_ptr:
|
if not vlist_ptr:
|
||||||
return ((), 0, 1, [0], [thing]), 0
|
return ((), 0, 1, [1], [thing]), 0
|
||||||
|
|
||||||
(base, offset, size, last_used_list, data), pointer_offset = vlist_ptr
|
(base, offset, size, last_used_list, data), pointer_offset = vlist_ptr
|
||||||
[last_used] = last_used_list
|
[last_used] = last_used_list
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue