diff src/pt-misc.h @ 8913:35cd375d4bb3

make tree::dup functions const
author John W. Eaton <jwe@octave.org>
date Thu, 05 Mar 2009 13:50:25 -0500
parents 71f068b22fcc
children eb63fbe60fab
line wrap: on
line diff
--- a/src/pt-misc.h
+++ b/src/pt-misc.h
@@ -82,7 +82,7 @@
   octave_value_list convert_to_const_vector (const Cell& varargout);
 
   tree_parameter_list *dup (symbol_table::scope_id scope,
-			    symbol_table::context_id context);
+			    symbol_table::context_id context) const;
 
   void accept (tree_walker& tw);
 
@@ -116,7 +116,7 @@
   ~tree_return_list (void);
 
   tree_return_list *dup (symbol_table::scope_id scope,
-			 symbol_table::context_id context);
+			 symbol_table::context_id context) const;
 
   void accept (tree_walker& tw);