about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2016-05-08 21:33:24 +0200
committerMikael Magnusson <mikachu@gmail.com>2016-05-08 21:57:06 +0200
commitb7c2ddf65c9175b77bb9efc4ec7de7ef472d7a65 (patch)
treeeca4db8b437ffdb51468a28968ec5f1bdeab2c14 /Src/zsh.h
parent546a6b42b3a2b1172fbd099a0fee2864af16461c (diff)
downloadzsh-b7c2ddf65c9175b77bb9efc4ec7de7ef472d7a65.tar.gz
zsh-b7c2ddf65c9175b77bb9efc4ec7de7ef472d7a65.tar.xz
zsh-b7c2ddf65c9175b77bb9efc4ec7de7ef472d7a65.zip
Add typeset -c to control when cached length is used
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 0e7b75e25..bf89272f2 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1791,6 +1791,7 @@ 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 */
 
 /* Remaining flags do not correspond directly to command line arguments */
 #define PM_LOCAL	(1<<21) /* this parameter will be made local        */
@@ -1809,7 +1810,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 "aiEFALRZlurtxUhHTkzc"
 
 /* These typeset options take an optional numeric argument */
 #define TYPESET_OPTNUM "LRZiEF"