Mercurial > octave
view .editorconfig @ 32095:28ef2991fb5a
Emit warning about infinite loop if for loop range starts with infinite value.
* pt-eval.cc (execute_range_loop): Check base of range, in addition to limit of
range, for infinite value and emit warning if found.
* for.tst: Add tests for new behavior. Recode tests so that they don't emit
warnings if file 'for.tst' is tested outside of test suite.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 17 May 2023 20:29:17 -0700 |
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