status returns the function name when called with -u parameter

Fixes #1743
This commit is contained in:
Marc Garcia Sastre
2017-04-13 00:34:25 +02:00
committed by Kurtis Rader
parent 2565c5c15b
commit 980af4aa5b
6 changed files with 33 additions and 0 deletions

View File

@@ -440,6 +440,10 @@ const wchar_t *parser_t::is_function() const {
return result;
}
const wchar_t *parser_t::get_function_name() {
return this->is_function();
}
int parser_t::get_lineno() const {
int lineno = -1;
if (!execution_contexts.empty()) {