Fixed format problem with error message.

pull/3/head
yhirose 9 years ago
parent 9536956e58
commit e96336a463
  1. 2
      language/main.cc

@ -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;;
} }
} }
} }

Loading…
Cancel
Save