Mercurial > octave-nkf
changeset 7654:48edf48cd4dc
__axis_label__: use name of caller in error message
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 27 Mar 2008 13:26:06 -0400 |
parents | d9eb2aec6d84 |
children | ea2344c4140b |
files | scripts/ChangeLog scripts/plot/__axis_label__.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Thu Mar 27 13:18:58 2008 -0400 +++ b/scripts/ChangeLog Thu Mar 27 13:26:06 2008 -0400 @@ -1,3 +1,7 @@ +2008-03-27 John W. Eaton <jwe@octave.org> + + * plot/__axis_label__.m: Use name of caller in error message. + 2008-03-27 David Bateman <dbateman@free.fr> * linear-algebra/planerot.m: Givens rotation function.
--- a/scripts/plot/__axis_label__.m Thu Mar 27 13:18:58 2008 -0400 +++ b/scripts/plot/__axis_label__.m Thu Mar 27 13:26:06 2008 -0400 @@ -38,7 +38,7 @@ retval = h; endif else - error ("%s: expecting first argument to be character string"); + error ("%s: expecting first argument to be character string", caller); endif endfunction