Fixed format problem with error message.

This commit is contained in:
yhirose 2015-07-25 12:58:40 -04:00
parent 9536956e58
commit e96336a463

View File

@ -40,7 +40,7 @@ int repl(shared_ptr<Environment> env, bool print_ast)
cout << val << endl; cout << val << endl;
linenoise::AddHistory(line.c_str()); linenoise::AddHistory(line.c_str());
} else if (!msg.empty()) { } else if (!msg.empty()) {
cout << msg; cout << msg << endl;;
} }
} }
} }