From: Markus Triska Date: Tue, 1 Mar 2022 19:20:51 +0000 (+0100) Subject: FIXED: load_html/3: use str_loc_as_cell! to store attribute structures X-Git-Tag: v0.9.0^2~8^2 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=1bec1b700227d2eac8ff603fbc414a07d92c0573;p=scryer-prolog.git FIXED: load_html/3: use str_loc_as_cell! to store attribute structures --- 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));