]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.25
authorfred <fred>
Mon, 10 Feb 1997 14:37:15 +0000 (14:37 +0000)
committerfred <fred>
Mon, 10 Feb 1997 14:37:15 +0000 (14:37 +0000)
flower/sstack.hh [deleted file]
flower/textstr.hh

diff --git a/flower/sstack.hh b/flower/sstack.hh
deleted file mode 100644 (file)
index adbc66b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-  sstack.hh -- part of Flower lib
-
-  (c) 1996 Han-Wen Nienhuys
-*/
-
-#ifndef SSTACK_HH
-#define SSTACK_HH
-
-#include "varray.hh"
-
-/// A simple stack based on Array.
-template<class T>
-struct sstack : Array<T> { 
-    T top()const { return last(); }
-    T pop() {
-       assert(!empty());
-       T l = last();
-        Array<T>::pop();
-       return l;
-    }
-};
-/**
-  Same as for #Array# goes here.
-*/
-
-
-#endif // SSTACK_HH
-
index 63369ac2584e2efffc3aab5bb5d6eb1415d5323d..c89f58cf8db52c29d6b37f7e45ba980cdf152a44 100644 (file)
@@ -4,7 +4,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include "string.hh"
-#include "sstack.hh"
+#include "varray.hh"
 
 /// line counting input stream.
 class Text_stream
@@ -13,7 +13,7 @@ class Text_stream
 
     // could just have used streams. 
     FILE *f;  
-    sstack<char> pushback;
+       Array<char> pushback;
     String name;
     
  public: