Mercurial > octave-libgccjit
diff src/pt-cmd.cc @ 8658:73c4516fae10
New evaluator and debugger derived from tree-walker class
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Feb 2009 00:47:53 -0500 |
parents | 4976f66d469b |
children | 35cd375d4bb3 |
line wrap: on
line diff
--- a/src/pt-cmd.cc Tue Feb 03 12:47:38 2009 +0100 +++ b/src/pt-cmd.cc Wed Feb 04 00:47:53 2009 -0500 @@ -45,24 +45,6 @@ // Function definition. -void -tree_function_def::eval (void) -{ - octave_function *f = function (); - - if (f) - { - std::string nm = f->name (); - - symbol_table::install_cmdline_function (nm, fcn); - - // Make sure that any variable with the same name as the new - // function is cleared. - - symbol_table::varref (nm) = octave_value (); - } -} - tree_command * tree_function_def::dup (symbol_table::scope_id, symbol_table::context_id /*context*/)