mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
34921: handle error in recursive par_event().
Here documents in an interrupted list caused bad juju.
This commit is contained in:
parent
4553cbad19
commit
2e48eceb1a
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2015-04-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 34921: Src/parse.c: handle error in recursive par_event().
|
||||
|
||||
2015-04-17 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 34920: Etc/zsh-development-guide: info on git pull.
|
||||
|
|
|
@ -605,6 +605,7 @@ par_event(int endtok)
|
|||
if (!par_event(endtok)) {
|
||||
ecused = oec;
|
||||
ecbuf[p] |= wc_bdata(Z_END);
|
||||
return errflag ? 0 : 1;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue