diff libinterp/parse-tree/oct-parse.in.yy @ 23470:a41fdb801db6

use mark_global and mark_persistent consistently * ls-hdf5.cc, ls-hdf5.h, ls-mat5.cc, ls-mat5.h, ls-oct-binary.cc, ls-oct-binary.h, ls-oct-text.cc, ls-oct-text.h, oct-parse.in.yy, pt-decl.cc, pt-decl.h, pt-eval.cc, pt-id.h: Consistently use mark_global and mark_persistent instead of mark_as_global, mark_as_persistent, mark_static, or mark_as_static.
author John W. Eaton <jwe@octave.org>
date Thu, 04 May 2017 15:10:29 -0400
parents 2699c5974844
children 55916f99b8b6
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-parse.in.yy	Thu May 04 15:02:46 2017 -0400
+++ b/libinterp/parse-tree/oct-parse.in.yy	Thu May 04 15:10:29 2017 -0400
@@ -3861,7 +3861,7 @@
       case GLOBAL:
         {
           retval = new tree_decl_command ("global", lst, l, c);
-          retval->mark_as_global ();
+          retval->mark_global ();
         }
         break;
 
@@ -3869,7 +3869,7 @@
         if (curr_fcn_depth > 0)
           {
             retval = new tree_decl_command ("persistent", lst, l, c);
-            retval->mark_as_persistent ();
+            retval->mark_persistent ();
           }
         else
           {