mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2025-01-13 21:34:16 +00:00
allow break within loop ... end
This commit is contained in:
parent
298c601300
commit
f799eb6d81
@ -716,7 +716,7 @@ int loop_command::execute(Environment &env, const fdmask &fds, bool throwup) {
|
||||
if (control_c) throw execution_of_input_terminated();
|
||||
|
||||
try {
|
||||
env.indent_and([&]{
|
||||
env.loop_indent_and([&]{
|
||||
rv = vector_command::execute(env, newfds);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user