comparison libinterp/octave.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 5f4b519e4a5e
children
comparison
equal deleted inserted replaced
33381:6f7fe3f85253 33382:79cfa1b7a813
229 default: 229 default:
230 // getopt_long should print a message about unrecognized options and 230 // getopt_long should print a message about unrecognized options and
231 // return '?', which is handled above. If we end up here, it is 231 // return '?', which is handled above. If we end up here, it is
232 // because there was an option but we forgot to handle it. 232 // because there was an option but we forgot to handle it.
233 // That should be fatal. 233 // That should be fatal.
234 panic_impossible (); 234
235 error ("unexpected option (= %d) - please reportt this bug", optc);
235 break; 236 break;
236 } 237 }
237 } 238 }
238 239
239 m_remaining_args = string_vector (argv+octave_optind_wrapper (), 240 m_remaining_args = string_vector (argv+octave_optind_wrapper (),