mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-18 20:11:15 -03:00
status returns the function name when called with -u parameter
Fixes #1743
This commit is contained in:
committed by
Kurtis Rader
parent
2565c5c15b
commit
980af4aa5b
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user