changeset 1227:766e2a1a4e7b

[project @ 1995-04-10 00:48:19 by jwe]
author jwe
date Mon, 10 Apr 1995 00:50:03 +0000
parents 2457d4ba0691
children 38b876e46ff6
files src/pt-misc.h src/pt-plot.h
diffstat 2 files changed, 39 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-misc.h	Mon Apr 10 00:41:32 1995 +0000
+++ b/src/pt-misc.h	Mon Apr 10 00:50:03 1995 +0000
@@ -96,9 +96,12 @@
 tree_statement_list : public SLList<tree_statement *>, public tree_print_code
 {
 public:
-  tree_statement_list (void) : SLList<tree_statement *> () { }
-  tree_statement_list (tree_statement *s) : SLList<tree_statement *> ()
-    { append (s); }
+  tree_statement_list (void)
+    : SLList<tree_statement *> (), tree_print_code () { }
+
+  tree_statement_list (tree_statement *s)
+    : SLList<tree_statement *> (), tree_print_code ()
+      { append (s); }
 
   ~tree_statement_list (void)
     {
@@ -123,9 +126,12 @@
 tree_argument_list : public SLList<tree_expression *>, public tree_print_code
 {
 public:
-  tree_argument_list (void) : SLList<tree_expression *> () { }
-  tree_argument_list (tree_expression *t) : SLList<tree_expression *> ()
-    { append (t); }
+  tree_argument_list (void)
+    : SLList<tree_expression *> (), tree_print_code () { }
+
+  tree_argument_list (tree_expression *t)
+    : SLList<tree_expression *> (), tree_print_code ()
+      { append (t); }
 
   ~tree_argument_list (void)
     {
@@ -149,14 +155,16 @@
 tree_parameter_list : public SLList<tree_identifier *>, public tree_print_code
 {
 public:
-  tree_parameter_list (void) : SLList<tree_identifier *> ()
-    { marked_for_varargs = 0; }
+  tree_parameter_list (void)
+    : SLList<tree_identifier *> (), tree_print_code ()
+      { marked_for_varargs = 0; }
 
-  tree_parameter_list (tree_identifier *t) : SLList<tree_identifier *> ()
-    {
-      marked_for_varargs = 0;
-      append (t);
-    }
+  tree_parameter_list (tree_identifier *t)
+    : SLList<tree_identifier *> (), tree_print_code ()
+      {
+	marked_for_varargs = 0;
+	append (t);
+      }
 
   ~tree_parameter_list (void)
     {
@@ -205,9 +213,11 @@
   public tree_print_code 
 {
 public:
-  tree_return_list (void) : SLList<tree_index_expression *> () { }
+  tree_return_list (void)
+    : SLList<tree_index_expression *> (), tree_print_code () { }
+
   tree_return_list (tree_index_expression *t)
-    : SLList<tree_index_expression *> ()
+    : SLList<tree_index_expression *> (), tree_print_code ()
       { append (t); }
 
   ~tree_return_list (void)
@@ -272,9 +282,12 @@
 tree_global_init_list : public SLList<tree_global *>, public tree_print_code
 {
 public:
-  tree_global_init_list (void) : SLList<tree_global *> () { }
-  tree_global_init_list (tree_global *t) : SLList<tree_global *> ()
-    { append (t); }
+  tree_global_init_list (void)
+    : SLList<tree_global *> (), tree_print_code () { }
+
+  tree_global_init_list (tree_global *t)
+    : SLList<tree_global *> (), tree_print_code ()
+      { append (t); }
 
   ~tree_global_init_list (void)
     {
@@ -333,9 +346,12 @@
 tree_if_command_list : public SLList<tree_if_clause *>, public tree_print_code
 {
 public:
-  tree_if_command_list (void) : SLList<tree_if_clause *> () { }
-  tree_if_command_list (tree_if_clause *t) : SLList<tree_if_clause *> ()
-    { append (t); }
+  tree_if_command_list (void)
+    : SLList<tree_if_clause *> (), tree_print_code () { }
+
+  tree_if_command_list (tree_if_clause *t)
+    : SLList<tree_if_clause *> (), tree_print_code ()
+      { append (t); }
 
   ~tree_if_command_list (void)
     {
--- a/src/pt-plot.h	Mon Apr 10 00:41:32 1995 +0000
+++ b/src/pt-plot.h	Mon Apr 10 00:50:03 1995 +0000
@@ -185,9 +185,9 @@
 subplot_list : public SLList<subplot *>, public tree_print_code
 {
  public:
-  subplot_list (void) : SLList<subplot *> () { }
+  subplot_list (void) : SLList<subplot *> (), tree_print_code () { }
 
-  subplot_list (subplot *t) : SLList<subplot *> ()
+  subplot_list (subplot *t) : SLList<subplot *> (), tree_print_code ()
     { append (t); }
 
   ~subplot_list (void)