From bdfebe3e3262eaaf83e89c9356c7c46a21181a6a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 11 Jul 2009 16:42:53 +0000 Subject: 27129: fix status at start of function, command subst, etc. --- Src/zsh.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Src/zsh.h') 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 { -- cgit 1.4.1