diff src/pt-stmt.h @ 4935:4fc993a4e072

[project @ 2004-08-06 03:17:12 by jwe]
author jwe
date Fri, 06 Aug 2004 03:17:13 +0000
parents 23d06c9e1edd
children 80842ad3f85c
line wrap: on
line diff
--- a/src/pt-stmt.h
+++ b/src/pt-stmt.h
@@ -77,6 +77,14 @@
 
   octave_comment_list *comment_text (void) { return comm; }
 
+  // Allow modification of this statement.  Note that there is no
+  // checking.  If you use these, are you sure you knwo what you are
+  // doing?
+
+  void set_command (tree_command *c) { cmd = c; }
+
+  void set_expression (tree_expression *e) { expr = e; }
+
   void accept (tree_walker& tw);
 
 private: