about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-07-11 16:42:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-07-11 16:42:53 +0000
commitbdfebe3e3262eaaf83e89c9356c7c46a21181a6a (patch)
tree87027d549b390d53ab682c872c83b93ce8f98250 /Src/zsh.h
parenta8fb2bbc3d580ebff421a02b9499be6a8a20b055 (diff)
downloadzsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.gz
zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.xz
zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.zip
27129: fix status at start of function, command subst, etc.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 2a23ad36a..a230a5058 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1726,6 +1726,17 @@ struct nameddir {
 #define PRINT_WHENCE_FUNCDEF	(1<<9)
 #define PRINT_WHENCE_WORD	(1<<10)
 
+/* Return values from loop() */
+
+enum loop_return {
+    /* Loop executed OK */
+    LOOP_OK,
+    /* Loop executed no code */
+    LOOP_EMPTY,
+    /* Loop encountered an error */
+    LOOP_ERROR
+};
+
 /* Return values from source() */
 
 enum source_return {