]> Repositorios git - scryer-prolog.git/commitdiff
FIXED: load_html/3: use str_loc_as_cell! to store attribute structures
authorMarkus Triska <[email protected]>
Tue, 1 Mar 2022 19:20:51 +0000 (20:20 +0100)
committerMarkus Triska <[email protected]>
Tue, 1 Mar 2022 19:21:08 +0000 (20:21 +0100)
src/machine/system_calls.rs

index a8fdb87261a65499a8f93fb9329100bf65bc330f..88c857723dc817b0c69a7561946058fa9e2aa744 100644 (file)
@@ -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));