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] move zsh reserved words out of the way when invoked in sh/ksh emulation
Date: Mon, 16 Apr 2018 14:26:34 -0700	[thread overview]
Message-ID: <180416142634.ZM13563@torch.brasslantern.com> (raw)
In-Reply-To: <20180416093221.119adb33@camnpupstephen.cam.scsc.local>

On Apr 16,  9:32am, Peter Stephenson wrote:
} Subject: Re: [PATCH] move zsh reserved words out of the way when invoked i
}
} On Mon, 26 Mar 2018 00:23:07 +0200
} Martijn Dekker <martijn@inlv.org> wrote:
} > 'float' and 'integer' are part of the typeset family, so the
} > underlying builtins would be exposed. It would then be inconsistent
} > not to do the same with the rest of the typeset family:
} > 
} > 	declare
} > 	export
} > 	local
} > 	readonly
} > 	typeset
} 
} This is when I got really confused when I first saw this patch.  This
} breaks the syntax supporting inline parentheses present in POSIX mode

This is fairly bad.  We made those into reserved words particularly for
this reason.

I would not support breaking this.


      reply	other threads:[~2018-04-16 21:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180325222346epcas1p2296ebb2ee08e21c7438b32eabf1fa57a@epcas1p2.samsung.com>
2018-03-25 22:23 ` Martijn Dekker
2018-04-15 21:30   ` Martijn Dekker
2018-04-16  8:32   ` Peter Stephenson
2018-04-16 21:26     ` 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=180416142634.ZM13563@torch.brasslantern.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).