--- parser3/src/include/pa_stack.h 2003/03/04 15:59:18 1.17.2.6 +++ parser3/src/include/pa_stack.h 2003/03/26 18:52:49 1.17.2.6.2.1 @@ -8,7 +8,7 @@ #ifndef PA_STACK_H #define PA_STACK_H -static const char* IDENT_STACK_H="$Date: 2003/03/04 15:59:18 $"; +static const char* IDENT_STACK_H="$Date: 2003/03/26 18:52:49 $"; #include "pa_config_includes.h" #include "pa_array.h" @@ -35,14 +35,14 @@ public: return result; } - int top_index() { return ftop-1; } + size_t top_index() { return ftop-1; } void top_index(int top_index) { ftop=top_index+1; } T top_value() { return get(top_index()); } private: // deepest used index - int ftop; + size_t ftop; T empty; };