@@ -5131,7 +5131,7 @@ impl Machine {
|
|||||||
self.machine_st.heap.allocate_cstr(valid_str)
|
self.machine_st.heap.allocate_cstr(valid_str)
|
||||||
),
|
),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
let cells: Vec<_> = bytes
|
let cells: Vec<_> = cstr.to_bytes()
|
||||||
.iter()
|
.iter()
|
||||||
.map(|&b| fixnum_as_cell!(Fixnum::build_with(b)))
|
.map(|&b| fixnum_as_cell!(Fixnum::build_with(b)))
|
||||||
.collect();
|
.collect();
|
||||||
|
|||||||
Reference in New Issue
Block a user