comparison src/pt-const.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 73c4516fae10
children eb63fbe60fab
comparison
equal deleted inserted replaced
8912:57c3155754d6 8913:35cd375d4bb3
77 octave_value rvalue1 (int = 1) { return val; } 77 octave_value rvalue1 (int = 1) { return val; }
78 78
79 octave_value_list rvalue (int nargout); 79 octave_value_list rvalue (int nargout);
80 80
81 tree_expression *dup (symbol_table::scope_id scope, 81 tree_expression *dup (symbol_table::scope_id scope,
82 symbol_table::context_id context); 82 symbol_table::context_id context) const;
83 83
84 void accept (tree_walker& tw); 84 void accept (tree_walker& tw);
85 85
86 // Store the original text corresponding to this constant for later 86 // Store the original text corresponding to this constant for later
87 // pretty printing. 87 // pretty printing.