Mercurial > hg > octave-lyh
changeset 754:daf899e42dfc
[project @ 1994-10-02 15:13:26 by jwe]
Initial revision
author | jwe |
---|---|
date | Sun, 02 Oct 1994 15:13:26 +0000 |
parents | b909cb750b35 |
children | 0a9ac29dfd4d |
files | src/Array-tc.cc src/Map-tc.cc src/SLList-expr.cc src/SLList-i.cc src/SLList-misc.cc src/SLList-pc.cc src/SLList-plot.cc src/SLList-tc.cc src/SLStack-sym.cc src/SLStack-tm.cc src/SLStack-tok.cc src/SLStack-ue.cc src/SLStack-ui.cc |
diffstat | 13 files changed, 529 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/Array-tc.cc @@ -0,0 +1,39 @@ +// Array-tc.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Arrays of tree_constants. + +#include "Array.h" +#include "Array.cc" + +#include "tree-const.h" + +template class ArrayRep<tree_constant>; +template class Array<tree_constant>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/Map-tc.cc @@ -0,0 +1,43 @@ +// Map-tc.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Maps of tree_constants. + +#include "Map.h" +#include "Map.cc" + +#include "tree-const.h" + +template class Map<tree_constant>; +template class CHNode<tree_constant>; +template class CHMap<tree_constant>; + +template static int goodCHptr (CHNode<tree_constant> *t); +template static int CHptr_to_index (CHNode<tree_constant> *t); + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLList-expr.cc @@ -0,0 +1,44 @@ +// SLList-expr.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Lists of various values. + +#include <SLList.h> + +#include "tree-expr.h" + +template class SLNode<tree_expression *>; +template class SLList<tree_expression *>; + +template class SLNode<tree_identifier *>; +template class SLList<tree_identifier *>; + +template class SLNode<tree_index_expression *>; +template class SLList<tree_index_expression *>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLList-i.cc @@ -0,0 +1,39 @@ +// SLStack-i.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of int values. + +#include "SLStack.h" +#include "SLStack.cc" + +template class SLNode<int>; +template class SLList<int>; +template class Stack<int>; +template class SLStack<int>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLList-misc.cc @@ -0,0 +1,45 @@ +// SLList-misc.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Lists of various values. + +#include <SLList.h> + +#include "tree-misc.h" + +template class SLNode<tree_statement *>; +template class SLList<tree_statement *>; + +template class SLNode<tree_if_clause *>; +template class SLList<tree_if_clause *>; + +template class SLList<tree_global *>; +template class SLNode<tree_global *>; + + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLList-pc.cc @@ -0,0 +1,39 @@ +// SLStack-pc.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of char* values. + +#include "SLStack.h" +#include "SLStack.cc" + +template class SLNode<char *>; +template class SLList<char *>; +template class Stack<char *>; +template class SLStack<char *>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLList-plot.cc @@ -0,0 +1,38 @@ +// SLList-plot.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Lists of various values. + +#include <SLList.h> + +#include "tree-plot.h" + +template class SLNode<subplot *>; +template class SLList<subplot *>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLList-tc.cc @@ -0,0 +1,38 @@ +// SLList-tc.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Lists of various values. + +#include <SLList.h> + +#include "tree-const.h" + +template class SLNode<tree_constant>; +template class SLList<tree_constant>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLStack-sym.cc @@ -0,0 +1,41 @@ +// SLStack-sym.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of symbol_def* values. + +#include "SLStack.h" +#include "SLStack.cc" + +#include "symtab.h" + +template class SLNode<symbol_def *>; +template class SLList<symbol_def *>; +template class Stack<symbol_def *>; +template class SLStack<symbol_def *>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLStack-tm.cc @@ -0,0 +1,42 @@ +// SLStack-tm.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of tree_matrix* values. + +#include "SLStack.h" +#include "SLStack.cc" + +#include "tree-base.h" +#include "tree-expr.h" + +template class SLNode<tree_matrix *>; +template class SLList<tree_matrix *>; +template class Stack<tree_matrix *>; +template class SLStack<tree_matrix *>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLStack-tok.cc @@ -0,0 +1,41 @@ +// SLStack-tok.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of token* values. + +#include "SLStack.h" +#include "SLStack.cc" + +#include "token.h" + +template class SLNode<token *>; +template class SLList<token *>; +template class Stack<token *>; +template class SLStack<token *>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLStack-ue.cc @@ -0,0 +1,41 @@ +// SLStack-up.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of unwind_elem values. + +#include "SLStack.h" +#include "SLStack.cc" + +#include "unwind-prot.h" + +template class SLNode<unwind_elem>; +template class SLList<unwind_elem>; +template class Stack<unwind_elem>; +template class SLStack<unwind_elem>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/
new file mode 100644 --- /dev/null +++ b/src/SLStack-ui.cc @@ -0,0 +1,39 @@ +// SLStack-ui.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +// Instantiate Stacks of symbol_def* values. + +#include "SLStack.h" +#include "SLStack.cc" + +template class SLNode<unsigned>; +template class SLList<unsigned>; +template class Stack<unsigned>; +template class SLStack<unsigned>; + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/