diff options
author | axel <axel@liljencrantz.se> | 2006-01-28 21:34:40 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-28 21:34:40 +1000 |
commit | 003c4d776fe7605667e822b521952893640c0b86 (patch) | |
tree | f24a790a9c8f9678bba3033b109a86a3ed8bb84c /parser.h | |
parent | 00dea8a082445615cf4c19d04bf608c876794596 (diff) |
Display use of . (source) builtin in stack traces
darcs-hash:20060128113440-ac50b-6556097eb766cc7561a3d30ef994bc913181fe65.gz
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -64,6 +64,7 @@ typedef struct block int if_state; /**< The state of the if block */ wchar_t *switch_value; /**< The value to test in a switch block */ wchar_t *function_name; /**< The name of the function to define or the function called*/ + wchar_t *source_dest; /**< The name of the file to source*/ } param1; /** @@ -83,7 +84,7 @@ typedef struct block union { int function_is_binding; /**< Whether a function is a keybinding */ - int function_lineno; /**< Function invocation line number */ + int call_lineno; /**< Function invocation line number */ } param3; /** @@ -92,7 +93,7 @@ typedef struct block union { array_list_t *function_events; - wchar_t *function_filename; + wchar_t *call_filename; } param4; /** @@ -121,6 +122,7 @@ enum block_type SUBST, /**< Command substitution scope */ TOP, /**< Outermost block */ BEGIN, /**< Unconditional block */ + SOURCE, /**< Block created by the . (source) builtin */ } ; |