Mercurial > octave
view .editorconfig @ 33347:ea0da8f24871
replace remaining uses of panic_impossible with error in oct-parse.yy
* oct-parse.yy (unexpected_token): New function. Use it to replace
panic_impossible in functions that use switch statements to handle
a subset of operator tokens.
(end_token_as_string): Eliminate default case in switch over enum
values. Handle previously missing token::arguments_end case in switch.
(base_parser::parse_fcn_file): Call error instead of panic_impossible.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 07 Apr 2024 11:05:18 -0400 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab