changeset 877:ba6acc6309ec

[project @ 1994-11-05 03:10:20 by jwe]
author jwe
date Sat, 05 Nov 1994 03:16:51 +0000
parents 0862b41633f3
children e8a677c3f042
files liboctave/idx-vector.cc liboctave/idx-vector.h src/SLStack.cc src/SLStack.h src/oct-obj.cc src/oct-obj.h src/procstream.cc src/procstream.h src/pt-base.cc src/pt-cmd.cc src/pt-cmd.h src/pt-const.cc src/symtab.cc src/symtab.h src/token.cc src/token.h src/unwind-prot.cc src/unwind-prot.h
diffstat 18 files changed, 3 insertions(+), 66 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/idx-vector.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/liboctave/idx-vector.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include <iostream.h>
 #include <stdlib.h>
 
--- a/liboctave/idx-vector.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/liboctave/idx-vector.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_idx_vector_h)
 #define octave_idx_vector_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 class ostream;
 class Matrix;
 class Range;
--- a/src/SLStack.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/SLStack.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -71,10 +71,11 @@
 }
 
 template <class T>
-void
+SLStack<T>&
 SLStack<T>::operator = (const SLStack<T>& s)
 {
   p = s.p;
+  return *this;
 }
 
 template <class T>
--- a/src/SLStack.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/SLStack.h	Sat Nov 05 03:16:51 1994 +0000
@@ -52,7 +52,7 @@
   SLStack (const SLStack<T>& s);
   ~SLStack (void);
 
-  void operator = (const SLStack<T>&);
+  SLStack<T>& operator = (const SLStack<T>&);
 
   void push (const T& item);
   T pop (void);
--- a/src/oct-obj.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/oct-obj.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include "Array.h"
 #include "mx-base.h"
 #include "Range.h"
--- a/src/oct-obj.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/oct-obj.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_oct_obj_h)
 #define octave_oct_obj_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 #include "Array.h"
 #include "mx-base.h"
 
--- a/src/procstream.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/procstream.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include "procstream.h"
 
 procstreambase::procstreambase (void)
--- a/src/procstream.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/procstream.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_procstream_h)
 #define octave_procstream_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 #include <iostream.h>
 #include <procbuf.h>
 
--- a/src/pt-base.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/pt-base.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include <iostream.h>
 #include <assert.h>
 
--- a/src/pt-cmd.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/pt-cmd.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include <iostream.h>
 
 // Nonzero means we're breaking out of a loop.
--- a/src/pt-cmd.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/pt-cmd.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_tree_cmd_h)
 #define octave_tree_cmd_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 #include <iostream.h>
 
 class tree_statement_list;
--- a/src/pt-const.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/pt-const.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include <iostream.h>
 
 #include "tree-const.h"
--- a/src/symtab.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/symtab.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include "symtab.h"
 #include "error.h"
 #include "variables.h"
--- a/src/symtab.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/symtab.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_symtab_h)
 #define octave_symtab_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 #include "SLStack.h"
 
 #include "variables.h"
--- a/src/token.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/token.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include <assert.h>
 
 #include "token.h"
--- a/src/token.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/token.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_token_h)
 #define octave_token_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 class symbol_record;
 
 class
--- a/src/unwind-prot.cc	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/unwind-prot.cc	Sat Nov 05 03:16:51 1994 +0000
@@ -25,10 +25,6 @@
 #include "config.h"
 #endif
 
-#if defined (__GNUG__)
-#pragma implementation
-#endif
-
 #include <stddef.h>
 
 #include "SLStack.h"
--- a/src/unwind-prot.h	Fri Nov 04 20:18:57 1994 +0000
+++ b/src/unwind-prot.h	Sat Nov 05 03:16:51 1994 +0000
@@ -24,10 +24,6 @@
 #if !defined (octave_unwind_prot_h)
 #define octave_unwind_prot_h 1
 
-#if defined (__GNUG__)
-#pragma interface
-#endif
-
 #include <stddef.h>
 
 typedef void (*cleanup_func)(void *ptr);