aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-27 01:47:22 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-27 01:47:22 +1000
commit7cd98a670be3cc02d6944e1a47b0168185c2ec3d (patch)
tree26af53b39cce07a549e20bcaec4d6fca52f64115 /parser.h
parentdb0eccdc869f0ea0588fe7d38f2b65d90d9db856 (diff)
Fix glitches in stack trace
darcs-hash:20060126154722-ac50b-0d44e98b6d98e3b42f60f66f5bfa2c5f97ea2bd8.gz
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 5087cc6c..1728953e 100644
--- a/parser.h
+++ b/parser.h
@@ -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