Merge pull request #1312 from triska/str_loc_as_cell

FIXED: load_html/3: use str_loc_as_cell! to store attribute structures
This commit is contained in:
Mark Thom
2022-03-01 12:09:42 -07:00
committed by GitHub

View File

@@ -6035,7 +6035,7 @@ impl Machine {
&mut self.machine_st.atom_tbl, &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!(atom!("="), 2));
self.machine_st.heap.push(atom_as_cell!(name)); self.machine_st.heap.push(atom_as_cell!(name));