Mercurial > octave
view examples/module.mk @ 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 | c2c528319260 |
children |
line wrap: on
line source
%canon_reldir%_EXTRA_DIST = include %reldir%/code/module.mk include %reldir%/data/module.mk %canon_reldir%_EXTRA_DIST += \ %reldir%/code/COPYING EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST)