Mercurial > octave
view .dir-locals.el @ 28540:ea5a632b2553 stable
improve error checking for undefined function outputs (bug #58686, #58695)
* pt-eval.h, pt-eval.cc (tree_evaluator::bind_auto_fcn_vars):
New argument, ignored_outputs.
(tree_evaluator::convert_return_list_to_const_vector): New argument,
ignored_outputs. Improve handling of undefined output values and
ignored outputs.
(tree_evaluator::execute_user_function): Call ignored_fcn_outputs here
and pass result to bind_auto_fcn_vars. Also pass array of
ignored_fcn_outputs to convert_return_list_to_const_vector.
* pt-assign.cc: New tests.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 07 Jul 2020 18:34:23 -0400 |
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))))