comparison libinterp/corefcn/pr-output.cc @ 33382:79cfa1b7a813

replace nearly all remaining uses of panic_impossible with error Affected files: data.cc, error.cc, find.cc, graphics.in.h, ls-hdf5.cc, oct-hist.cc, oct-stream.cc, pr-output.cc, quad.cc, __init_fltk__.cc, cdef-class.cc, cdef-utils.cc, ov.h, octave.cc, pt-anon-scopes.cc, pt-array-list.cc, pt-assign.cc, pt-cmd.h, pt-eval.cc, pt-idx.cc, pt-stmt.cc, pt-walk.cc, and Sparse.cc.
author John W. Eaton <jwe@octave.org>
date Fri, 12 Apr 2024 11:15:32 -0400
parents 40fde86be9b0
children c714266d9f0d
comparison
equal deleted inserted replaced
33381:6f7fe3f85253 33382:79cfa1b7a813
1773 1773
1774 void 1774 void
1775 octave_print_internal (std::ostream&, const float_display_format&, 1775 octave_print_internal (std::ostream&, const float_display_format&,
1776 char, bool) 1776 char, bool)
1777 { 1777 {
1778 panic_impossible (); 1778 error ("unexpected call to 'octave_print_internal (std::ostream&, const float_display_format&, char, bool)' - please report this bug");
1779 } 1779 }
1780 1780
1781 void 1781 void
1782 octave_print_internal (std::ostream& os, const float_display_format& fmt, 1782 octave_print_internal (std::ostream& os, const float_display_format& fmt,
1783 double d, bool pr_as_read_syntax) 1783 double d, bool pr_as_read_syntax)
3184 PRINT_INT_ARRAY_INTERNAL (octave_uint64) 3184 PRINT_INT_ARRAY_INTERNAL (octave_uint64)
3185 3185
3186 void 3186 void
3187 octave_print_internal (std::ostream&, const Cell&, bool, int, bool) 3187 octave_print_internal (std::ostream&, const Cell&, bool, int, bool)
3188 { 3188 {
3189 panic_impossible (); 3189 error ("unexpected call to 'octave_print_internal (std::ostream&, const Cell&, bool, int, bool)' - please report this bug");
3190 } 3190 }
3191 3191
3192 void 3192 void
3193 octave_print_internal (std::ostream&, const octave_value&, bool) 3193 octave_print_internal (std::ostream&, const octave_value&, bool)
3194 { 3194 {
3195 panic_impossible (); 3195 error ("unexpected call to 'octave_print_internal (std::ostream&, const octave_value&, bool)' - please report this bug");
3196 } 3196 }
3197 3197
3198 OCTAVE_BEGIN_NAMESPACE(octave) 3198 OCTAVE_BEGIN_NAMESPACE(octave)
3199 3199
3200 DEFUN (rats, args, , 3200 DEFUN (rats, args, ,