Mercurial > hg > octave-max
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 +++ b/liboctave/idx-vector.cc @@ -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 +++ b/liboctave/idx-vector.h @@ -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 +++ b/src/SLStack.cc @@ -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 +++ b/src/SLStack.h @@ -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 +++ b/src/oct-obj.cc @@ -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 +++ b/src/oct-obj.h @@ -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 +++ b/src/procstream.cc @@ -25,10 +25,6 @@ #include "config.h" #endif -#if defined (__GNUG__) -#pragma implementation -#endif - #include "procstream.h" procstreambase::procstreambase (void)
--- a/src/procstream.h +++ b/src/procstream.h @@ -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 +++ b/src/pt-base.cc @@ -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 +++ b/src/pt-cmd.cc @@ -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 +++ b/src/pt-cmd.h @@ -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 +++ b/src/pt-const.cc @@ -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 +++ b/src/symtab.cc @@ -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 +++ b/src/symtab.h @@ -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 +++ b/src/token.cc @@ -25,10 +25,6 @@ #include "config.h" #endif -#if defined (__GNUG__) -#pragma implementation -#endif - #include <assert.h> #include "token.h"
--- a/src/token.h +++ b/src/token.h @@ -24,10 +24,6 @@ #if !defined (octave_token_h) #define octave_token_h 1 -#if defined (__GNUG__) -#pragma interface -#endif - class symbol_record; class