# HG changeset patch # User John W. Eaton # Date 1553892266 0 # Node ID b12d5ef8b4f4391f21ad03d5b23e004a9233797b # Parent 2a57165f892c9e623b560eb08df627039c791a45 move toward limiting direct access of call stack * ov-fcn-handle.cc (octave_fcn_handle::load_hdf5): Use new tree_evaluator functions to manage dummy scope instead of accessing call_stack directly. Missed in previous change. diff -r 2a57165f892c -r b12d5ef8b4f4 libinterp/octave-value/ov-fcn-handle.cc --- a/libinterp/octave-value/ov-fcn-handle.cc Fri Jan 11 21:24:26 2019 -0500 +++ b/libinterp/octave-value/ov-fcn-handle.cc Fri Mar 29 20:44:26 2019 +0000 @@ -1406,11 +1406,10 @@ octave::interpreter& interp = octave::__get_interpreter__ ("octave_fcn_handle::load_hdf5"); - octave::call_stack& cs = interp.get_call_stack (); + octave::tree_evaluator& tw = interp.get_evaluator (); - octave::symbol_scope local_scope (fcn_tmp); - cs.push (local_scope); - frame.add_method (cs, &octave::call_stack::pop); + tw.push_dummy_scope (fcn_tmp); + frame.add_method (tw, &octave::tree_evaluator::pop_scope); if (len > 0 && success) { @@ -1440,8 +1439,6 @@ if (success) success = parse_anon_fcn_handle (fcn_tmp); - - frame.run (); } else {