provide better variable names in write_term_to_chars/3 (#340)

This commit is contained in:
Mark Thom
2020-04-14 10:39:10 -06:00
parent db5ed345bc
commit 7799ed36f0
3 changed files with 72 additions and 57 deletions

View File

@@ -423,6 +423,16 @@ impl Machine {
)
);
compile_user_module(&mut wam,
Stream::from(CHARSIO),
true,
ListingSource::from_file_and_path(
clause_name!("si"),
lib_path.clone(),
)
);
if wam.compile_top_level().is_err() {
panic!("Loading '$toplevel' module failed");
}