mirror of
https://github.com/usatiuk/psil.git
synced 2025-10-28 10:47:49 +01:00
> in repl
This commit is contained in:
@@ -57,8 +57,10 @@ void parse_options(int argc, char *argv[]) {
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
try {
|
||||
// Just to be safe initialize everything in proper order
|
||||
Options::reset();
|
||||
Logger::reset();
|
||||
MemoryContext::get();
|
||||
|
||||
parse_options(argc, argv);
|
||||
|
||||
@@ -100,7 +102,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
if (Options::get_bool("repl"))
|
||||
while (true) {
|
||||
std::cout << std::endl;
|
||||
std::cout << std::endl << "> ";
|
||||
vm.loadControl(repl);
|
||||
vm.run();
|
||||
std::cout << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user