comparison libinterp/parse-tree/pt-walk.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 70b7f1c285c7
children
comparison
equal deleted inserted replaced
33381:6f7fe3f85253 33382:79cfa1b7a813
440 } 440 }
441 } 441 }
442 break; 442 break;
443 443
444 default: 444 default:
445 panic_impossible (); 445 error ("unexpected: index not '(', '{', or '.' in tree_walker::visit_index_expression - please report this bug");
446 } 446 }
447 447
448 p_arg_lists++; 448 p_arg_lists++;
449 p_arg_names++; 449 p_arg_names++;
450 p_dyn_fields++; 450 p_dyn_fields++;