Mercurial > hg > octave-nkf
diff src/toplev.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 | 6adcafc70c32 |
children | 33783e94fb16 |
line wrap: on
line diff
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -67,6 +67,7 @@ #include "pathsearch.h" #include "procstream.h" #include "ov.h" +#include "pt-eval.h" #include "pt-jump.h" #include "pt-stmt.h" #include "sighandlers.h" @@ -555,7 +556,9 @@ { if (global_command) { - global_command->eval (); + current_evaluator->reset (); + + global_command->accept (*current_evaluator); delete global_command;