about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-06-19 12:00:59 +0100
committerPeter Stephenson <pws@zsh.org>2015-06-19 12:00:59 +0100
commite03ead4fff0f048935105bef0533e25d6240ee80 (patch)
tree317ef485cfef33e63f7a238208eb4d9ec15648ca /Src/zsh.h
parenta29746ee48c84b40add764f3cbd62d995179f72a (diff)
downloadzsh-e03ead4fff0f048935105bef0533e25d6240ee80.tar.gz
zsh-e03ead4fff0f048935105bef0533e25d6240ee80.tar.xz
zsh-e03ead4fff0f048935105bef0533e25d6240ee80.zip
Debug so basic typeset cases work.
zshlex() needed after ENVSTRING and ENVARRAY in typeset.

WC_TYPESET needs to come before WC_CURSH as not
handled by execfuncs.

More care needed counting and retrieving arguments
in typeset.

Array assignment for new typeset variable should be more like
scalar assignment.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 0d43d37a7..ee0609483 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -782,24 +782,24 @@ struct eccstr {
 #define WC_REDIR    4
 #define WC_ASSIGN   5
 #define WC_SIMPLE   6
-#define WC_SUBSH    7
-#define WC_CURSH    8
-#define WC_TIMED    9
-#define WC_FUNCDEF 10
-#define WC_FOR     11
-#define WC_SELECT  12
-#define WC_WHILE   13
-#define WC_REPEAT  14
-#define WC_CASE    15
-#define WC_IF      16
-#define WC_COND    17
-#define WC_ARITH   18
-#define WC_AUTOFN  19
-#define WC_TRY     20
-#define WC_TYPESET 21
+#define WC_TYPESET  7
+#define WC_SUBSH    8
+#define WC_CURSH    9
+#define WC_TIMED   10
+#define WC_FUNCDEF 11
+#define WC_FOR     12
+#define WC_SELECT  13
+#define WC_WHILE   14
+#define WC_REPEAT  15
+#define WC_CASE    16
+#define WC_IF      17
+#define WC_COND    18
+#define WC_ARITH   19
+#define WC_AUTOFN  20
+#define WC_TRY     21
 
 /* increment as necessary */
-#define WC_COUNT   21
+#define WC_COUNT   22
 
 #define WCB_END()           wc_bld(WC_END, 0)