Mercurial > hg > octave-nkf
diff src/ov-class.cc @ 12483:7a5aacf65f81
Rewrite error strings in src/ to use variables named in documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 26 Feb 2011 17:28:11 -0800 |
parents | a71c1aa9823e |
children | 6f3f18957851 |
line wrap: on
line diff
--- a/src/ov-class.cc +++ b/src/ov-class.cc @@ -1697,7 +1697,7 @@ parent_class_names = obj.parent_class_name_list (); } else - error ("invalid call to exmplar_info constructor"); + error ("invalid call to exemplar_info constructor"); } @@ -1826,7 +1826,7 @@ } } else - error ("class: expecting structure as first argument"); + error ("class: expecting structure S as first argument"); } else error ("class: `%s' is invalid as a class name in this context", @@ -1836,7 +1836,7 @@ error ("class: invalid call from outside class constructor or method"); } else - error ("class: expecting character string as second argument"); + error ("class: ID (class name) must be a character string"); } return retval;