diff libinterp/parse-tree/pt-fcn-handle.cc @ 24846:7620f1f5290d

use m_ prefix for member variables in parse tree classes * pt-arg-list.cc, pt-arg-list.h, pt-assign.cc, pt-assign.h, pt-binop.cc, pt-binop.h, pt-bp.cc, pt-bp.h, pt-cbinop.cc, pt-cbinop.h, pt-check.cc, pt-check.h, pt-classdef.cc, pt-classdef.h, pt-cmd.h, pt-colon.cc, pt-colon.h, pt-const.cc, pt-const.h, pt-decl.cc, pt-decl.h, pt-except.cc, pt-except.h, pt-fcn-handle.cc, pt-fcn-handle.h, pt-funcall.cc, pt-funcall.h, pt-id.cc, pt-id.h, pt-idx.cc, pt-idx.h, pt-jit.cc, pt-jit.h, pt-loop.cc, pt-loop.h, pt-misc.h, pt-pr-code.cc, pt-pr-code.h, pt-select.cc, pt-select.h, pt-stmt.cc, pt-stmt.h, pt-tm-const.cc, pt-tm-const.h, pt.cc, pt.h: Use m_ prefix for member variables in parse tree classes. Style fixes.
author John W. Eaton <jwe@octave.org>
date Wed, 07 Mar 2018 14:56:03 -0500
parents 194eb4bd202b
children 6652d3823428
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-fcn-handle.cc	Tue Mar 06 13:28:41 2018 -0500
+++ b/libinterp/parse-tree/pt-fcn-handle.cc	Wed Mar 07 14:56:03 2018 -0500
@@ -42,13 +42,13 @@
   tree_fcn_handle::print_raw (std::ostream& os, bool pr_as_read_syntax,
                               bool pr_orig_text)
   {
-    os << ((pr_as_read_syntax || pr_orig_text) ? "@" : "") << nm;
+    os << ((pr_as_read_syntax || pr_orig_text) ? "@" : "") << m_name;
   }
 
   tree_expression *
   tree_fcn_handle::dup (symbol_scope&) const
   {
-    tree_fcn_handle *new_fh = new tree_fcn_handle (nm, line (), column ());
+    tree_fcn_handle *new_fh = new tree_fcn_handle (m_name, line (), column ());
 
     new_fh->copy_base (*this);