Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Minor bug(s) with NO_MULTI_FUNC_DEF
- X-seq: zsh-workers 50338
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Minor bug(s) with NO_MULTI_FUNC_DEF
- Date: Mon, 6 Jun 2022 09:45:31 +0100 (BST)
- Archived-at: <https://zsh.org/workers/50338>
- Importance: Medium
- In-reply-to: <CAH+w=7aH=X4YP6HW2JHg28j7-_zOz_DRZ1TNasOtX0uinCJgUQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7Y7Q8H9YVEjNd8gsE=5LzpRo74DvVAeK9ORguuuhr00kg@mail.gmail.com> <1980097513.514587.1653987797049@mail2.virginmedia.com> <CAH+w=7Z=dVjC84H=5dQFZNXA2_N86ajH8Z-yLva_L=R-iLb2FA@mail.gmail.com> <CAH+w=7aH=X4YP6HW2JHg28j7-_zOz_DRZ1TNasOtX0uinCJgUQ@mail.gmail.com>
> On 31 May 2022 at 18:14 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Tue, May 31, 2022 at 10:07 AM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, May 31, 2022 at 2:06 AM Peter Stephenson
> > <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > > I don't see a good argument for
> > > doing it differently depending on the option setting.
> >
> > ... do we need to worry about sh / POSIX compatibility?
>
> To be more precise ... we still don't need to do it differently based
> on the option, but we might need to retain the "name()" format when
> it's not affected by the option.
Hmm, this is a real issue. As NO_MULTI_FUNC_DEF is in effect
for sh emulation, we could in fact tie it to the option. But your
suggestion has a much lower effect on output of compiled shell code, so that
could be the way to go.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author