zsh-workers
 help / color / mirror / code / Atom feed
* Back to typeset array[position=index]=value again ...
@ 2021-06-13 22:33 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2021-06-13 22:33 UTC (permalink / raw)
  To: Zsh hackers list

Please keep this separate from the ongoing threads about unset and {
read 'hash[$key]' }.

Back in 2016, Daniel posted patches in workers/37591 and workers/37592
to allow "=" to appear in aliases in some circumstances; 37591 was
applied, but not 37952, which conflicts with the change to getasg() in
the first hunk of my "take three" patch on the unset thread.

Further, examining 37592 makes it clear that my getasg() hunk would
break aliases that contain '[' anywhere in the alias name, which is a
nonstarter.  I think getasg() is going to need to know which of
alias/hash/typeset called it, in a manner similar to the
"allow_equals" argument passed in the patch of 37592, in order to
repair typeset without breaking the others.

Other thoughts?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-13 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-13 22:33 Back to typeset array[position=index]=value again Bart Schaefer

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