diff src/pt-mat.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 9a5ef4f632a3
children 35cd375d4bb3
line wrap: on
line diff
--- a/src/pt-mat.cc
+++ b/src/pt-mat.cc
@@ -376,7 +376,7 @@
 
       tree_expression *elt = *p;
 
-      octave_value tmp = elt->rvalue ();
+      octave_value tmp = elt->rvalue1 ();
 
       if (error_state || tmp.is_undefined ())
 	break;
@@ -703,12 +703,10 @@
 {
   octave_value_list retval;
 
-  MAYBE_DO_BREAKPOINT;
-
   if (nargout > 1)
     error ("invalid number of output arguments for matrix list");
   else
-    retval = rvalue ();
+    retval = rvalue1 (nargout);
 
   return retval;
 }
@@ -772,7 +770,7 @@
   while (0)
 
 octave_value
-tree_matrix::rvalue (void)
+tree_matrix::rvalue1 (int)
 {
   octave_value retval = Matrix ();