diff options
author | axel <axel@liljencrantz.se> | 2006-01-27 01:47:22 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-27 01:47:22 +1000 |
commit | 7cd98a670be3cc02d6944e1a47b0168185c2ec3d (patch) | |
tree | 26af53b39cce07a549e20bcaec4d6fca52f64115 /parser.h | |
parent | db0eccdc869f0ea0588fe7d38f2b65d90d9db856 (diff) |
Fix glitches in stack trace
darcs-hash:20060126154722-ac50b-0d44e98b6d98e3b42f60f66f5bfa2c5f97ea2bd8.gz
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -92,6 +92,7 @@ typedef struct block union { array_list_t *function_events; + wchar_t *function_filename; } param4; /** @@ -338,4 +339,12 @@ void parser_destroy(); */ int parser_is_help( wchar_t *s, int min_match ); +/** + Returns the file currently evaluated by the parser. This can be + different than reader_current_filename, e.g. if we are evaulating a + function defined in a different file than the one curently read. +*/ +const wchar_t *parser_current_filename(); + + #endif |