diff src/ov-usr-fcn.h @ 3933:f9ea3dcf58ee

[project @ 2002-05-15 03:21:00 by jwe]
author jwe
date Wed, 15 May 2002 03:21:01 +0000
parents 09323fcea5ab
children e2290bf911f0
line wrap: on
line diff
--- a/src/ov-usr-fcn.h
+++ b/src/ov-usr-fcn.h
@@ -127,10 +127,16 @@
 
   void restore_args_passed (void)
     {
-      if (! saved_args.empty ())
+      if (saved_args.empty ())
+	args_passed = octave_value_list ();
+      else
 	args_passed = saved_args.pop ();
     }
 
+  octave_value_list subsref (const std::string type,
+			     const SLList<octave_value_list>& idx,
+			     int nargout);
+
   octave_value_list
   do_multi_index_op (int nargout, const octave_value_list& args);
 
@@ -148,6 +154,8 @@
 
   void accept (tree_walker& tw);
 
+  void print_symtab_info (std::ostream& os) const;
+
 private:
 
   octave_user_function (void);