Mercurial > hg > octave-nkf
diff src/pt-decl.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 | 6a7b578b6fb4 |
line wrap: on
line diff
--- a/src/pt-decl.h +++ b/src/pt-decl.h @@ -67,6 +67,12 @@ // An initializer expression (may be zero); tree_expression *expr; + + // No copying! + + tree_decl_elt (const tree_decl_elt&); + + tree_decl_elt& operator = (const tree_decl_elt&); }; class @@ -92,6 +98,14 @@ void eval (tree_decl_elt::eval_fcn, bool); void accept (tree_walker& tw); + +private: + + // No copying! + + tree_decl_init_list (const tree_decl_init_list&); + + tree_decl_init_list& operator = (const tree_decl_init_list&); }; // Base class for declaration commands -- global, static, etc. @@ -126,6 +140,14 @@ // The list of variables or initializers in this declaration command. tree_decl_init_list *init_list; + +private: + + // No copying! + + tree_decl_command (const tree_decl_command&); + + tree_decl_command& operator = (const tree_decl_command&); }; // Global. @@ -144,6 +166,14 @@ ~tree_global_command (void) { } void eval (void); + +private: + + // No copying! + + tree_global_command (const tree_global_command&); + + tree_global_command& operator = (const tree_global_command&); }; // Static. @@ -162,6 +192,14 @@ ~tree_static_command (void) { } void eval (void); + +private: + + // No copying! + + tree_static_command (const tree_static_command&); + + tree_static_command& operator = (const tree_static_command&); }; #endif