diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-07-11 10:47:09 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-07-11 10:47:09 -0600 |
commit | a3629ab0ccd40a4492ac99424d84b3649df8b057 (patch) | |
tree | 602225a6682ab82ba6116364bf9b4dd60ac6030f /src/libcmd | |
parent | 6ac8200ff5d21d7c4464b4b3a2d3716fa4b942fd (diff) |
move ignore-try to EvalSettings
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/command.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc index 940fd5b23..14bb27936 100644 --- a/src/libcmd/command.cc +++ b/src/libcmd/command.cc @@ -91,12 +91,6 @@ EvalCommand::EvalCommand() .description = "start an interactive environment if evaluation fails", .handler = {&startReplOnEvalErrors, true}, }); - - addFlag({ - .longName = "ignore-try", - .description = "ignore exceptions in try clauses during debug", - .handler = {&ignoreExceptionsDuringTry, true}, - }); } EvalCommand::~EvalCommand() @@ -128,9 +122,6 @@ ref<EvalState> EvalCommand::getEvalState() if (startReplOnEvalErrors) { evalState->debugRepl = &runRepl; }; - if (ignoreExceptionsDuringTry) { - evalState->ignoreTry = ignoreExceptionsDuringTry; - }; } return ref<EvalState>(evalState); } |