diff options
| author | Philippe Altherr <philippe.altherr@gmail.com> | 2026-02-16 16:22:18 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2026-02-16 16:22:18 -0800 |
| commit | 09e1b5631dfe367aa8e44acf28bc8581a47a5d54 (patch) | |
| tree | 2ce03eb479e7e6306ce55cdd26d812fb2d1b68a4 /Src/zsh.h | |
| parent | 54122: avoid warnings for valid nameref options (diff) | |
| download | zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.tar zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.tar.gz zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.tar.bz2 zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.tar.lz zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.tar.xz zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.tar.zst zsh-09e1b5631dfe367aa8e44acf28bc8581a47a5d54.zip | |
53776: Add PM_NAMEREF to PM_TYPE, reject array initializers for namerefs
Diffstat (limited to 'Src/zsh.h')
| -rw-r--r-- | Src/zsh.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1883,7 +1883,7 @@ struct tieddata { #define PM_HASHED (1<<4) /* association */ #define PM_TYPE(X) \ - (X & (PM_SCALAR|PM_INTEGER|PM_EFLOAT|PM_FFLOAT|PM_ARRAY|PM_HASHED)) + (X & (PM_SCALAR|PM_INTEGER|PM_EFLOAT|PM_FFLOAT|PM_ARRAY|PM_HASHED|PM_NAMEREF)) #define PM_LEFT (1<<5) /* left justify, remove leading blanks */ #define PM_RIGHT_B (1<<6) /* right justify, fill with leading blanks */ |
