diff libinterp/octave-value/ov-ch-mat.cc @ 27069:0a62d9a6aa2d

Place Octave's warning and error IDs in to the "Octave" namespace (bug #56213). * oct-stream.cc (textscan_format_list::parse_char_class), ov-ch-mat.cc (octave_char_matrix::map): Use "Octave" namespace with initial capital rather than "octave" lowercase in warning_with_id. * fminbnd.m (guarded_eval), fminunc.m (guarded_eval), fsolve.m (guarded_eval): Place error IDs in to "Octave" namespace. * print.m (epstool, fig2dev, latexstandalone, lpr, pstoedit): Place error IDs in to "Octave" namespace. * __print_parse_opts__.m (convert2points): Place error IDs in to "Octave" namespace. * fzero.m, __ghostscript__.m, __gnuplot_print__.m, __opengl_print__.m, splinefit.m, strjoin.m, strsplit.m: Place error IDs in to "Octave" namespace.
author Rik <rik@octave.org>
date Thu, 25 Apr 2019 08:48:19 -0700
parents 00f796120a6d
children b442ec6dda5c
line wrap: on
line diff
--- a/libinterp/octave-value/ov-ch-mat.cc	Wed Apr 24 21:21:06 2019 -0700
+++ b/libinterp/octave-value/ov-ch-mat.cc	Thu Apr 25 08:48:19 2019 -0700
@@ -325,7 +325,7 @@
         U8_FCN (in, matrix.numel (), nullptr, buf, &output_length);            \
         if (output_length != static_cast<size_t> (matrix.numel ()))            \
           {                                                                    \
-            warning_with_id ("octave:multi_byte_char_length",                  \
+            warning_with_id ("Octave:multi_byte_char_length",                  \
                              "UMAP: Possible multi-byte error.");              \
             return octave_value (matrix.map<char, int (&) (int)> (STD_FCN));   \
           }                                                                    \