--- parser3/src/include/pa_stack.h 2003/01/21 15:51:11 1.17 +++ parser3/src/include/pa_stack.h 2003/01/28 09:48:16 1.17.2.2 @@ -8,32 +8,31 @@ #ifndef PA_STACK_H #define PA_STACK_H -static const char* IDENT_STACK_H="$Date: 2003/01/21 15:51:11 $"; +static const char* IDENT_STACK_H="$Date: 2003/01/28 09:48:16 $"; #include "pa_config_includes.h" #include "pa_array.h" /// simple stack based on Array -class Stack : public Array { +template class Stack: public Array { public: - Stack(Pool& apool) : Array(apool), ftop(0) { - } + Stack(): ftop(0) {} - void push(Item *item) { - if(ftop