changeset 3879:7200bfd25c97

[project @ 2002-03-08 21:00:54 by jwe]
author jwe
date Fri, 08 Mar 2002 21:02:33 +0000
parents faeca8a063ae
children c21ae2c5840f
files src/TEMPLATE-INST/SLStack-ovl.cc src/utils.cc
diffstat 2 files changed, 53 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/TEMPLATE-INST/SLStack-ovl.cc	Fri Mar 08 21:02:33 2002 +0000
@@ -0,0 +1,51 @@
+/*
+
+Copyright (C) 1996, 1997 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, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
+*/
+
+// Instantiate Stacks of string values.
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "SLList.h"
+#include "SLList.cc"
+
+#include "Stack.h"
+#include "Stack.cc"
+
+#include "SLStack.h"
+#include "SLStack.cc"
+
+#include "oct-obj.h"
+
+template class SLNode<octave_value_list>;
+template class SLList<octave_value_list>;
+
+template class Stack<octave_value_list>;
+
+template class SLStack<octave_value_list>;
+
+/*
+;;; Local Variables: ***
+;;; mode: C++ ***
+;;; End: ***
+*/
--- a/src/utils.cc	Thu Mar 07 23:28:32 2002 +0000
+++ b/src/utils.cc	Fri Mar 08 21:02:33 2002 +0000
@@ -567,7 +567,7 @@
   return retval;
 }
 
-#if 0
+// #if 0
 
 // Octave could use some way to access the value of ERRNO, but this is
 // probably not the best interface, so don't depend on it...
@@ -588,7 +588,7 @@
   return retval;
 }
 
-#endif
+// #endif
 
 static void
 warn_old_style_preference (bool val, const std::string& sval)