diff src/pt-const.h @ 5861:2a6cb4ed8f1e

[project @ 2006-06-16 05:09:41 by jwe]
author jwe
date Fri, 16 Jun 2006 05:09:42 +0000
parents 4c8a2e4e0717
children 93c65f2a5668
line wrap: on
line diff
--- a/src/pt-const.h	Fri Jun 16 05:01:39 2006 +0000
+++ b/src/pt-const.h	Fri Jun 16 05:09:42 2006 +0000
@@ -49,6 +49,10 @@
   tree_constant (const octave_value& v, int l = -1, int c = -1)
     : tree_expression (l, c), val (v), orig_text () { }
 
+  tree_constant (const octave_value& v, const std::string& ot,
+		 int l = -1, int c = -1)
+    : tree_expression (l, c), val (v), orig_text (ot) { }
+
   ~tree_constant (void) { }
 
   bool has_magic_end (void) const { return false; }
@@ -79,6 +83,8 @@
 
   octave_value_list rvalue (int nargout);
 
+  tree_expression *dup (symbol_table *sym_tab);
+
   void accept (tree_walker& tw);
 
   // Store the original text corresponding to this constant for later