changeset 11719:a99c93f83404
release-3-0-x
__axis_label__: use name of caller in error message
author |
John W. Eaton <jwe@octave.org> |
date |
Thu, 27 Mar 2008 13:26:44 -0400 |
parents |
6e7e29c2155b |
children |
ef483acb60c7 |
files |
scripts/ChangeLog scripts/plot/__axis_label__.m |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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-26 John W. Eaton <jwe@octave.org>
* set/ismember.m: Set size of idx output correctly for empty args.
--- a/scripts/plot/__axis_label__.m
+++ b/scripts/plot/__axis_label__.m
@@ -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