diff src/pt-exp-base.cc @ 666:fb4f6556b443

[project @ 1994-09-06 21:22:46 by jwe]
author jwe
date Tue, 06 Sep 1994 21:25:14 +0000
parents 9293c023dd2d
children 250fc1c93fe2
line wrap: on
line diff
--- a/src/pt-exp-base.cc	Tue Sep 06 21:01:54 1994 +0000
+++ b/src/pt-exp-base.cc	Tue Sep 06 21:25:14 1994 +0000
@@ -141,13 +141,6 @@
   return tree_constant ();
 }
 
-Octave_object
-tree_expression::eval (int print, int nargout, const Octave_object& args)
-{
-  panic ("invalid evaluation of generic expression");
-  return Octave_object ();
-}
-
 // General matrices.  This list type is much more work to handle than
 // constant matrices, but it allows us to construct matrices from
 // other matrices, variables, and functions.
@@ -590,6 +583,15 @@
     os << ")";
 }
 
+// A base class for objects that can be return multiple values
+
+tree_constant
+tree_multi_val_ret::eval (int print)
+{
+  panic ("invalid evaluation of generic expression");
+  return tree_constant ();
+}
+
 // A base class for objects that can be evaluated with argument lists.
 
 tree_constant
@@ -1468,15 +1470,6 @@
     os << ")";
 }
 
-// Assignment expressions.
-
-tree_constant
-tree_assignment_expression::eval (int print)
-{
-  panic ("invalid evaluation of generic expression");
-  return tree_constant ();
-}
-
 // Simple assignment expressions.
 
 tree_simple_assignment_expression::~tree_simple_assignment_expression (void)