Mercurial > hg > octave-nkf
changeset 19071:4cdab2973171
maint: Fix some spellings in error messages.
* ov-class.cc (Fisa): Correct spelling of "attay" to "array".
* ov-usr-fcn.cc (Fnargin, Fnargout): Use spelling "built-in" in error messages
for consistency with rest of Octave.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 29 Jun 2014 18:35:44 -0700 |
parents | ca0d9844dfd7 |
children | 04a00ba54557 |
files | libinterp/octave-value/ov-class.cc libinterp/octave-value/ov-usr-fcn.cc |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-class.cc +++ b/libinterp/octave-value/ov-class.cc @@ -1950,7 +1950,7 @@ const Array<std::string> cls = args(1).cellstr_value (); if (error_state) { - error ("isa: CLASSNAME must be a string or cell attay of strings"); + error ("isa: CLASSNAME must be a string or cell array of strings"); return retval; }
--- a/libinterp/octave-value/ov-usr-fcn.cc +++ b/libinterp/octave-value/ov-usr-fcn.cc @@ -890,7 +890,7 @@ { // Matlab gives up for histc, // so maybe it's ok that that we give up somtimes too? - error ("nargin: nargin information not available for builtin functions"); + error ("nargin: nargin information not available for built-in functions"); } } else @@ -1012,7 +1012,7 @@ // without making intrusive changes to Octave. // Matlab gives up for histc, // so maybe it's ok that we give up somtimes too? - error ("nargout: nargout information not available for builtin functions."); + error ("nargout: nargout information not available for built-in functions."); } } else