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();
|
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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue