include builtins implicitly in every module.

This commit is contained in:
Mark Thom
2018-07-04 23:25:55 -06:00
parent 0abd075b0b
commit 073a8888f3
6 changed files with 23 additions and 20 deletions

View File

@@ -32,7 +32,7 @@ fn prolog_repl() {
match read() {
Input::Line(line) => parse_and_compile_line(&mut wam, line.as_str()),
Input::Batch(batch) =>
match compile_listing(&mut wam, batch.as_str()) {
match compile_user_module(&mut wam, batch.as_str()) {
EvalSession::Error(e) => println!("{}", e),
_ => {}
},