diff options
author | axel <axel@liljencrantz.se> | 2006-11-02 23:45:37 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-11-02 23:45:37 +1000 |
commit | 6e24b26e2c9b6b2f1f886eb4d98470fc6c6319b8 (patch) | |
tree | 8d43e2562bcbac0f4dd689dc433dc5ca3422b90a /parser.h | |
parent | 7fb44d4d5fcdc78bd8b3b7cae1c2364e7ae51c35 (diff) |
Fix the code for ignoring infinite recursion
darcs-hash:20061102134537-ac50b-2dddd06dd77c362caf44c9160acc29b76278b230.gz
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -47,7 +47,8 @@ typedef struct block int type; /**< Type of block. Can be one of WHILE, FOR, IF and FUNCTION */ int skip; /**< Whether execution of the commands in this block should be skipped */ int tok_pos; /**< The start index of the block */ - + int had_command; /**< Set to non-zero once a command has been executed in this block */ + /** Status for the current loop block. Can be any of the values from the loop_status enum. */ @@ -210,7 +211,7 @@ int eval_args( const wchar_t *line, array_list_t *output ); /** - Sets the current error + Sets the current evaluation error. This function should only be used by libraries that are called by \param ec The new error code \param p The character offset at which the error occured |