Mercurial > octave
changeset 21698:b766928062f5
State error ID when complaining of ID but no message (bug #47874).
* error.cc (maybe_extract_message_id): Include id [arg(1)] in error string.
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Sat, 14 May 2016 10:50:33 +1000 |
parents | e7f641616581 |
children | 21fdab18f857 |
files | libinterp/corefcn/error.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc Sat May 14 10:28:20 2016 +1000 +++ b/libinterp/corefcn/error.cc Sat May 14 10:50:33 2016 +1000 @@ -1073,7 +1073,7 @@ } else nargs(0) = "call to " + caller - + " with message identifier requires message"; + + " with message identifier '" + arg1 + "' requires message"; } }