Mercurial > octave
changeset 30653:af2a0dbfc8fa
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 17 Jan 2022 19:33:06 +0100 |
parents | e10e9057a302 (current diff) a3a52d968f71 (diff) |
children | b15e026c5a31 |
files | libinterp/parse-tree/pt-eval.cc |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-eval.cc Fri Jan 14 13:39:23 2022 -0800 +++ b/libinterp/parse-tree/pt-eval.cc Mon Jan 17 19:33:06 2022 +0100 @@ -3418,6 +3418,9 @@ { std::string name = user_function.name (); + if (name.empty ()) + name = "@<anonymous>"; + error_with_id ("Octave:invalid-fun-call", "%s: function called with too many inputs", name.c_str ());