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