diff src/pt-cmd.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-cmd.h	Fri Jun 16 05:01:39 2006 +0000
+++ b/src/pt-cmd.h	Fri Jun 16 05:09:42 2006 +0000
@@ -27,6 +27,7 @@
 #include <string>
 
 class tree_walker;
+class symbol_table;
 
 #include "pt.h"
 #include "pt-bp.h"
@@ -45,6 +46,8 @@
 
   virtual void eval (void) = 0;
 
+  virtual tree_command *dup (symbol_table *) = 0;
+
 private:
 
   // No copying!
@@ -68,6 +71,8 @@
 
   void eval (void) { MAYBE_DO_BREAKPOINT; }
 
+  tree_command *dup (symbol_table *sym_tab);
+
   void accept (tree_walker& tw);
 
   std::string original_command (void) { return orig_cmd; }