about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-08-08 16:48:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-08-08 16:48:52 +0000
commitd307660deeb115dd2061654c2ddcd4407cadb04c (patch)
tree5ee4d623c09b60695a8567ea22f2756c7685cdf3 /Src/zsh.h
parentd7902f6badcc63cb76f3534cf542c4bd8889a18a (diff)
downloadzsh-d307660deeb115dd2061654c2ddcd4407cadb04c.tar.gz
zsh-d307660deeb115dd2061654c2ddcd4407cadb04c.tar.xz
zsh-d307660deeb115dd2061654c2ddcd4407cadb04c.zip
21575 plus unposted: Add WARN_CREATE_GLOBAL option
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 2c635d02b..b10f0bea2 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1361,6 +1361,14 @@ struct paramdef {
 #define setsparam(S,V) assignsparam(S,V,0)
 #define setaparam(S,V) assignaparam(S,V,0)
 
+/*
+ * Flags for assignsparam and assignaparam.
+ */
+enum {
+    ASSPM_AUGMENT = 1 << 0,
+    ASSPM_WARN_CREATE = 1 << 1
+};
+
 /* node for named directory hash table (nameddirtab) */
 
 struct nameddir {
@@ -1624,6 +1632,7 @@ enum {
     UNSET,
     VERBOSE,
     VIMODE,
+    WARNCREATEGLOBAL,
     XTRACE,
     USEZLE,
     DVORAK,