diff src/pt-eval.cc @ 10219:979fb2606c4f

new tree_evaluator::do_keyoard function
author Ryan Rusaw <rrusaw@gmail.com>
date Fri, 29 Jan 2010 05:35:13 -0500
parents 752f349052a2
children 57a59eae83cc
line wrap: on
line diff
--- a/src/pt-eval.cc	Thu Jan 28 20:59:31 2010 -0500
+++ b/src/pt-eval.cc	Fri Jan 29 05:35:13 2010 -0500
@@ -1155,6 +1155,17 @@
 
   if (break_on_this_statement)
     do_keyboard ();
+
+}
+
+// ARGS is currently unused, but since the do_keyboard function in
+// input.cc accepts an argument list, we preserve it here so that the
+// interface won't have to change if we decide to use it in the future.
+
+octave_value
+tree_evaluator::do_keyboard (const octave_value_list& args) const
+{
+  return ::do_keyboard (args);
 }
 
 DEFUN (silent_functions, args, nargout,