Mercurial > hg > octave-nkf
diff liboctave/idx-vector.cc @ 11590:4ced6b90fffb
style fixes for warning and error messages in source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 18:43:39 -0500 |
parents | 12df7854fa7c |
children | 2cd903770748 |
line wrap: on
line diff
--- a/liboctave/idx-vector.cc +++ b/liboctave/idx-vector.cc @@ -45,21 +45,21 @@ gripe_invalid_range (void) { (*current_liboctave_error_handler) - ("invalid range used as index."); + ("invalid range used as index"); } static void gripe_index_out_of_range (void) { (*current_liboctave_error_handler) - ("internal error: idx_vector index out of range."); + ("internal error: idx_vector index out of range"); } Array<octave_idx_type> idx_vector::idx_base_rep::as_array (void) { (*current_liboctave_error_handler) - ("internal error: as_array not allowed for this index class."); + ("internal error: as_array not allowed for this index class"); return Array<octave_idx_type> (); } @@ -71,7 +71,7 @@ if (c != ':') { (*current_liboctave_error_handler) - ("internal error: invalid character converted to idx_vector. Must be ':'."); + ("internal error: invalid character converted to idx_vector; must be ':'"); err = true; } }