From 1bec1b700227d2eac8ff603fbc414a07d92c0573 Mon Sep 17 00:00:00 2001 From: Markus Triska Date: Tue, 1 Mar 2022 20:20:51 +0100 Subject: [PATCH] FIXED: load_html/3: use str_loc_as_cell! to store attribute structures --- src/machine/system_calls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/system_calls.rs b/src/machine/system_calls.rs index a8fdb872..88c85772 100644 --- a/src/machine/system_calls.rs +++ b/src/machine/system_calls.rs @@ -6035,7 +6035,7 @@ impl Machine { &mut self.machine_st.atom_tbl, ); - avec.push(heap_loc_as_cell!(self.machine_st.heap.len())); + avec.push(str_loc_as_cell!(self.machine_st.heap.len())); self.machine_st.heap.push(atom_as_cell!(atom!("="), 2)); self.machine_st.heap.push(atom_as_cell!(name)); -- 2.54.0