Mercurial > octave
diff libinterp/corefcn/variables.cc @ 30896:c9788d7f6e65
maint: Use "fcn" as preferred abbreviation for "function" in libinterp/.
* __eigs__.cc, bsxfun.cc, cellfun.cc, daspk.cc, dasrt.cc, dassl.cc, data.cc,
debug.cc, error.cc, graphics.cc, graphics.in.h, gzfstream.h, ls-hdf5.cc,
lsode.cc, max.cc, oct-opengl.h, quad.cc, strfns.cc, utils.cc, utils.h,
variables.cc, __ode15__.cc, gzip.cc, cdef-manager.cc, ov-fcn-handle.cc,
ov-java.cc, ov-usr-fcn.cc, bp-table.cc, bp-table.h, lex.h, lex.ll,
oct-parse.yy, pt-eval.cc:
Replace "func", "fun", "fn" in documentation and variable names with "fcn".
author | Rik <rik@octave.org> |
---|---|
date | Tue, 05 Apr 2022 08:33:58 -0700 |
parents | 32d2b6604a9f |
children | 670a0d878af1 |
line wrap: on
line diff
--- a/libinterp/corefcn/variables.cc Tue Apr 05 01:06:00 2022 -0400 +++ b/libinterp/corefcn/variables.cc Tue Apr 05 08:33:58 2022 -0700 @@ -1430,11 +1430,11 @@ restore_var (Vmissing_function_hook); // Clear the variable prior to calling the function. - const std::string func_name = Vmissing_function_hook; + const std::string fcn_name = Vmissing_function_hook; Vmissing_function_hook.clear (); // Call. - octave_value_list tmp = octave::feval (func_name, octave_value (name), 1); + octave_value_list tmp = octave::feval (fcn_name, octave_value (name), 1); if (tmp.length () == 1 && tmp(0).is_string ()) return tmp(0).string_value ();