Mercurial > octave
view .gitattributes @ 33363:e95dabfeadb5
eliminate calls to panic_impossible in pt-pr-code.cc
* pt-pr-code.cc (error_unexpected): New static function. Use it to
replace panic_impossible in tree_print_code visitor functions that
should never be called.
(tree_print_code::visit_index_expression): Use error instead of
panic_impossible to report unexpected index operator.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 08 Apr 2024 20:27:33 -0400 |
parents | c6f9ff84dc84 |
children |