Mercurial > hg > octave-nkf
changeset 18307:87381dbbe25e
Clear all var, functions, globals when clearing classes (bug #41229)
* variables.cc (do_matlab_compatible_clear, Fclear): Add
symbol_table::clear_all () to case branch that clears classes.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 14 Jan 2014 13:47:20 -0800 |
parents | a0c9f5302eae |
children | 1456702a8b24 |
files | libinterp/corefcn/variables.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/variables.cc +++ b/libinterp/corefcn/variables.cc @@ -2257,6 +2257,7 @@ { symbol_table::clear_objects (); octave_class::clear_exemplar_map (); + symbol_table::clear_all (); } else { @@ -2466,6 +2467,7 @@ { symbol_table::clear_objects (); octave_class::clear_exemplar_map (); + symbol_table::clear_all (); } else {