summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2023-03-06 19:54:48 -0800
committerBart Schaefer <schaefer@zsh.org>2023-03-06 19:54:48 -0800
commit0562be0af8127bb728774de47e4e8851461bd8e2 (patch)
tree1c7eb42461dfb8c6ed2cdd2a908760e41da23bfc /Src/zsh.h
parentac1bf482ba43d4bf68708625e56a42860541d851 (diff)
downloadzsh-0562be0af8127bb728774de47e4e8851461bd8e2.tar.gz
zsh-0562be0af8127bb728774de47e4e8851461bd8e2.zip
51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named reference
Extend ${!name} in ksh emulation for same
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 0de1f7afb..f3a777045 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1964,6 +1964,7 @@ struct tieddata {
#define SCANPM_CHECKING (1<<10) /* Check if set, no need to create */
#define SCANPM_NOEXEC (1<<11) /* No command substitutions, etc. */
#define SCANPM_NONAMESPC (1<<12) /* namespace syntax not allowed */
+#define SCANPM_NONAMEREF (1<<13) /* named references are not followed */
/* "$foo[@]"-style substitution
* Only sign bit is significant