diff src/pt-select.h @ 2988:daa1ed1f5462

[project @ 1997-05-16 07:23:15 by jwe]
author jwe
date Fri, 16 May 1997 07:23:17 +0000
parents 20f5cec4f11c
children 0689afb1d001
line wrap: on
line diff
--- a/src/pt-select.h
+++ b/src/pt-select.h
@@ -72,6 +72,12 @@
 
   // The list of statements to evaluate if expr is true.
   tree_statement_list *list;
+
+  // No copying!
+
+  tree_if_clause (const tree_if_clause&);
+
+  tree_if_clause& operator = (const tree_if_clause&);
 };
 
 class
@@ -97,6 +103,14 @@
   void eval (void);
 
   void accept (tree_walker& tw);
+
+private:
+
+  // No copying!
+
+  tree_if_command_list (const tree_if_command_list&);
+
+  tree_if_command_list& operator = (const tree_if_command_list&);
 };
 
 class
@@ -122,6 +136,12 @@
 
   // List of if commands (if, elseif, elseif, ... else, endif)
   tree_if_command_list *list;
+
+  // No copying!
+
+  tree_if_command (const tree_if_command&);
+
+  tree_if_command& operator = (const tree_if_command&);
 };
 
 // Switch.
@@ -164,6 +184,12 @@
 
   // The list of statements to evaluate if the label matches.
   tree_statement_list *list;
+
+  // No copying!
+
+  tree_switch_case (const tree_switch_case&);
+
+  tree_switch_case& operator = (const tree_switch_case&);
 };
 
 class
@@ -189,6 +215,14 @@
   void eval (const octave_value& val);
 
   void accept (tree_walker& tw);
+
+private:
+
+  // No copying!
+
+  tree_switch_case_list (const tree_switch_case_list&);
+
+  tree_switch_case_list& operator = (const tree_switch_case_list&);
 };
 
 class
@@ -222,6 +256,12 @@
 
   // List of cases (case 1, case 2, ..., default)
   tree_switch_case_list *list;
+
+  // No copying!
+
+  tree_switch_command (const tree_switch_command&);
+
+  tree_switch_command& operator = (const tree_switch_command&);
 };
 
 #endif