1
0
Fork 0
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:
Peter Stephenson 2015-04-17 22:43:38 +01:00
parent 4553cbad19
commit 2e48eceb1a
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -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;