mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-17 11:41:07 +01:00
Also correct ChangeLog
This commit is contained in:
parent
41b402d36d
commit
23dc19f005
5 changed files with 19 additions and 32 deletions
12
Src/loop.c
12
Src/loop.c
|
|
@ -208,7 +208,7 @@ execfor(Estate state, int do_exec)
|
|||
loops--;
|
||||
simple_pline = old_simple_pline;
|
||||
state->pc = end;
|
||||
this_noerrexit = (WC_SUBLIST_TYPE(*end) != WC_SUBLIST_END);
|
||||
this_noerrexit = 1;
|
||||
return lastval;
|
||||
}
|
||||
|
||||
|
|
@ -336,7 +336,7 @@ execselect(Estate state, UNUSED(int do_exec))
|
|||
loops--;
|
||||
simple_pline = old_simple_pline;
|
||||
state->pc = end;
|
||||
this_noerrexit = (WC_SUBLIST_TYPE(*end) != WC_SUBLIST_END);
|
||||
this_noerrexit = 1;
|
||||
return lastval;
|
||||
}
|
||||
|
||||
|
|
@ -478,7 +478,7 @@ execwhile(Estate state, UNUSED(int do_exec))
|
|||
popheap();
|
||||
loops--;
|
||||
state->pc = end;
|
||||
this_noerrexit = (WC_SUBLIST_TYPE(*end) != WC_SUBLIST_END);
|
||||
this_noerrexit = 1;
|
||||
return lastval;
|
||||
}
|
||||
|
||||
|
|
@ -532,7 +532,7 @@ execrepeat(Estate state, UNUSED(int do_exec))
|
|||
loops--;
|
||||
simple_pline = old_simple_pline;
|
||||
state->pc = end;
|
||||
this_noerrexit = (WC_SUBLIST_TYPE(*end) != WC_SUBLIST_END);
|
||||
this_noerrexit = 1;
|
||||
return lastval;
|
||||
}
|
||||
|
||||
|
|
@ -587,7 +587,7 @@ execif(Estate state, int do_exec)
|
|||
lastval = 0;
|
||||
}
|
||||
state->pc = end;
|
||||
this_noerrexit = (WC_SUBLIST_TYPE(*end) != WC_SUBLIST_END);
|
||||
this_noerrexit = 1;
|
||||
|
||||
return lastval;
|
||||
}
|
||||
|
|
@ -701,7 +701,7 @@ execcase(Estate state, int do_exec)
|
|||
|
||||
if (!anypatok)
|
||||
lastval = 0;
|
||||
this_noerrexit = (WC_SUBLIST_TYPE(*end) != WC_SUBLIST_END);
|
||||
this_noerrexit = 1;
|
||||
|
||||
return lastval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue