diff options
| author | Bart Schaefer <schaefer@ipost.com> | 2020-11-28 11:25:23 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-10 14:12:29 -0700 |
| commit | a8f2a5d0c868e2a2263bbfaf98713f43477ba896 (patch) | |
| tree | 3b2ad7de15aeefb5a90b003f09df68e2b60e5333 | |
| parent | Add PM_DECLARED and PM_DECLAREDNULL parameter flags. (diff) | |
| download | zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.tar zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.tar.gz zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.tar.bz2 zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.tar.lz zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.tar.xz zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.tar.zst zsh-a8f2a5d0c868e2a2263bbfaf98713f43477ba896.zip | |
Choose a better bit-value for PM_DECLARED
| -rw-r--r-- | Src/zsh.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1929,9 +1929,9 @@ struct tieddata { made read-only by the user */ #define PM_READONLY_SPECIAL (PM_SPECIAL|PM_READONLY|PM_RO_BY_DESIGN) #define PM_DONTIMPORT (1<<22) /* do not import this variable */ +#define PM_DECLARED (1<<22) /* explicitly named with typeset */ #define PM_RESTRICTED (1<<23) /* cannot be changed in restricted mode */ #define PM_UNSET (1<<24) /* has null value */ -#define PM_DECLARED (1<<17) /* */ #define PM_DECLAREDNULL (PM_DECLARED|PM_UNSET) #define PM_REMOVABLE (1<<25) /* special can be removed from paramtab */ #define PM_AUTOLOAD (1<<26) /* autoloaded from module */ |
