mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-05 08:41:15 +02:00
34919: update interrupt parse error for ZLE cases.
Covers both send-break and push-input.
This commit is contained in:
parent
156327023c
commit
de22f2bfa6
3 changed files with 5 additions and 2 deletions
|
@ -5,6 +5,9 @@
|
||||||
|
|
||||||
2015-04-17 Peter Stephenson <p.stephenson@samsung.com>
|
2015-04-17 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
|
* 34919: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: similar cases
|
||||||
|
with send-break and push-input.
|
||||||
|
|
||||||
* 34905: Src/Zle/zle_keymap.c, Src/lex.c, Src/parse.c: suppress
|
* 34905: Src/Zle/zle_keymap.c, Src/lex.c, Src/parse.c: suppress
|
||||||
parse errors resulting from keyboard interruption.
|
parse errors resulting from keyboard interruption.
|
||||||
|
|
||||||
|
|
|
@ -854,7 +854,7 @@ pushlineoredit(char **args)
|
||||||
}
|
}
|
||||||
ret = pushline(args);
|
ret = pushline(args);
|
||||||
if (!isfirstln) {
|
if (!isfirstln) {
|
||||||
errflag |= ERRFLAG_ERROR;
|
errflag |= ERRFLAG_ERROR|ERRFLAG_INT;
|
||||||
done = 1;
|
done = 1;
|
||||||
}
|
}
|
||||||
clearlist = 1;
|
clearlist = 1;
|
||||||
|
|
|
@ -1041,7 +1041,7 @@ copyprevshellword(UNUSED(char **args))
|
||||||
int
|
int
|
||||||
sendbreak(UNUSED(char **args))
|
sendbreak(UNUSED(char **args))
|
||||||
{
|
{
|
||||||
errflag |= ERRFLAG_ERROR;
|
errflag |= ERRFLAG_ERROR|ERRFLAG_INT;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue