diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2017-05-28 12:29:29 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2017-05-28 12:29:29 -0700 |
commit | bcdfcb27654c95ac0a251594d69d6ac1f3e9e481 (patch) | |
tree | 5919471d97a778ec2402dba49d1210a1bfb4dd7f /Src/zsh.h | |
parent | 11304f731899275826b4efd52349cfe33684502a (diff) | |
parent | f4ab07b48c747e8dade9ee85369445de3a10d669 (diff) | |
download | zsh-bcdfcb27654c95ac0a251594d69d6ac1f3e9e481.tar.gz zsh-bcdfcb27654c95ac0a251594d69d6ac1f3e9e481.tar.xz zsh-bcdfcb27654c95ac0a251594d69d6ac1f3e9e481.zip |
Merge branch 'mikachu/badarrays' into schaefer/badarrays
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 405b27490..7df5add86 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1779,6 +1779,7 @@ struct param { int base; /* output base or floating point prec */ int width; /* field width */ + int length; /* length of array */ char *env; /* location in environment, if exported */ char *ename; /* name of corresponding environment var */ Param old; /* old struct for use with local */ @@ -1833,6 +1834,8 @@ struct tieddata { #define PM_KSHSTORED (1<<17) /* function stored in ksh form */ #define PM_ZSHSTORED (1<<18) /* function stored in zsh form */ +#define PM_CACHELEN (1<<19) /* length is cached */ +#define PM_CHECKLEN (1<<20) /* cached length is checked */ /* Remaining flags do not correspond directly to command line arguments */ #define PM_DONTIMPORT_SUID (1<<19) /* do not import if running setuid */ @@ -1854,7 +1857,7 @@ struct tieddata { #define PM_NAMEDDIR (1<<30) /* has a corresponding nameddirtab entry */ /* The option string corresponds to the first of the variables above */ -#define TYPESET_OPTSTR "aiEFALRZlurtxUhHTkz" +#define TYPESET_OPTSTR "aiEFALRZlurtxUhHTkzcC" /* These typeset options take an optional numeric argument */ #define TYPESET_OPTNUM "LRZiEF" |