zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] ? Parse error does not always set $? (Was: Bug? Output not flushed?)
Date: Fri, 15 Sep 2023 18:20:17 -0700	[thread overview]
Message-ID: <CAH+w=7aADr_WuiTKSpQ-xnV19H9iMfTfa8k-iKY47zOtF9rGdw@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7YM0wKJMo4A8BnA=12QMcdQw3sBa+30Rj7vp3Q+WA2ZcA@mail.gmail.com>

On Fri, Sep 15, 2023 at 3:22 PM Bart Schaefer <schaefer@brasslantern.com> 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.


      reply	other threads:[~2023-09-16  1:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 16:56 Bug? Output not flushed? Bart Schaefer
2023-09-15 17:05 ` Mikael Magnusson
2023-09-15 17:30   ` Bart Schaefer
2023-09-15 22:22     ` [PATCH] ? Parse error does not always set $? (Was: Bug? Output not flushed?) Bart Schaefer
2023-09-16  1:20       ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7aADr_WuiTKSpQ-xnV19H9iMfTfa8k-iKY47zOtF9rGdw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).