From: Mark Thom Date: Tue, 1 Mar 2022 01:28:13 +0000 (-0700) Subject: refer to structures using str_loc_as_cell! (#1311) X-Git-Tag: v0.9.0^2~9 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=1b4b4807a5ee1c56b63be8d7616a37189f1270d9;p=scryer-prolog.git refer to structures using str_loc_as_cell! (#1311) --- diff --git a/src/machine/system_calls.rs b/src/machine/system_calls.rs index a407d7fa..a8fdb872 100644 --- a/src/machine/system_calls.rs +++ b/src/machine/system_calls.rs @@ -5981,7 +5981,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));