Diff for /parser3/src/include/pa_stack.h between versions 1.19 and 1.21

version 1.19, 2003/09/26 11:23:37 version 1.21, 2003/11/20 16:34:25
Line 8 Line 8
 #ifndef PA_STACK_H  #ifndef PA_STACK_H
 #define PA_STACK_H  #define PA_STACK_H
   
 static const char* IDENT_STACK_H="$Date$";  static const char * const IDENT_STACK_H="$Date$";
   
 #include "pa_config_includes.h"  #include "pa_config_includes.h"
 #include "pa_array.h"  #include "pa_array.h"
Line 32  public: Line 32  public:
         }          }
   
         bool is_empty() { return ftop==0; }          bool is_empty() { return ftop==0; }
         size_t top() { return ftop; }          size_t top_index() { return ftop; }
         void top(size_t atop) { ftop=atop; }          void set_top_index(size_t atop) { ftop=atop; }
         T upper_value() {           T top_value() { 
                 assert(!is_empty());                  assert(!is_empty());
                 return get(ftop-1);                   return get(ftop-1); 
         }          }

Removed from v.1.19  
changed lines
  Added in v.1.21


E-mail: