Mercurial > octave
view .dir-locals.el @ 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 | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))