Mercurial > octave
comparison libinterp/parse-tree/pt-array-list.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 | 0b5f3219b650 |
children |
comparison
equal
deleted
inserted
replaced
33381:6f7fe3f85253 | 33382:79cfa1b7a813 |
---|---|
75 } | 75 } |
76 | 76 |
77 tree_expression * | 77 tree_expression * |
78 tree_array_list::dup (symbol_scope&) const | 78 tree_array_list::dup (symbol_scope&) const |
79 { | 79 { |
80 panic_impossible (); | 80 error ("unexpected call to tree_array_list::dup - please report this bug"); |
81 | |
81 return nullptr; | 82 return nullptr; |
82 } | 83 } |
83 | 84 |
84 void | 85 void |
85 tree_array_list::accept (tree_walker&) | 86 tree_array_list::accept (tree_walker&) |
86 { | 87 { |
87 panic_impossible (); | 88 error ("unexpected call to tree_array_list::accept - please report this bug"); |
88 } | 89 } |
89 | 90 |
90 OCTAVE_END_NAMESPACE(octave) | 91 OCTAVE_END_NAMESPACE(octave) |