diff libinterp/parse-tree/oct-parse.yy @ 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 796f54d4ddbf
children 037c1e768b56
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-parse.yy	Tue Apr 05 01:06:00 2022 -0400
+++ b/libinterp/parse-tree/oct-parse.yy	Tue Apr 05 08:33:58 2022 -0700
@@ -2099,12 +2099,12 @@
                   {
                     OCTAVE_YYUSE ($3);
 
-                    lexer.m_defining_func++;
+                    lexer.m_defining_fcn++;
                     lexer.m_parsed_function_name.push (false);
                   }
                   method_decl1
                   {
-                    lexer.m_defining_func--;
+                    lexer.m_defining_fcn--;
                     lexer.m_parsed_function_name.pop ();
 
                     $$ = parser.finish_classdef_external_method ($5, $2, $1);
@@ -4271,7 +4271,7 @@
     m_curr_fcn_depth--;
     m_function_scopes.pop ();
 
-    m_lexer.m_defining_func--;
+    m_lexer.m_defining_fcn--;
     m_lexer.m_parsed_function_name.pop ();
     m_lexer.m_looking_at_return_list = false;
     m_lexer.m_looking_at_parameter_list = false;