Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] ? Parse error does not always set $? (Was: Bug? Output not flushed?)
- X-seq: zsh-workers 52150
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] ? Parse error does not always set $? (Was: Bug? Output not flushed?)
- Date: Fri, 15 Sep 2023 18:20:17 -0700
- Archived-at: <https://zsh.org/workers/52150>
- In-reply-to: <CAH+w=7YM0wKJMo4A8BnA=12QMcdQw3sBa+30Rj7vp3Q+WA2ZcA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7YnQmbVqNKHmt6nthB-+1KdFYhXt2vfVu2_uHP6S5RxMg@mail.gmail.com> <CAHYJk3QbXntu6F7MAcweg5m0iRXp0QmuSkdWP2DfDxNJ=TYHWg@mail.gmail.com> <CAH+w=7ZiU+YY46hAVhR_8MoUmN6Mnxk8TFf9S3dgg_wkR16ajQ@mail.gmail.com> <CAH+w=7YM0wKJMo4A8BnA=12QMcdQw3sBa+30Rj7vp3Q+WA2ZcA@mail.gmail.com>
On Fri, Sep 15, 2023 at 3:22 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Is there any reason parse_string() should be discarding errflag?
There seem to be a couple of things that might be affected by this,
although the only one I can readily reproduce is with "trap":
Before:
zsh:1: parse error near `}'
zsh:trap:1: couldn't parse trap command
After:
zsh:1: parse error near `}'
Probably better to go at it a different way. Ignore workers/52149.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author