Diff for /parser3/src/include/pa_stack.h between versions 1.7 and 1.16

version 1.7, 2001/03/19 15:29:38 version 1.16, 2002/08/01 11:41:16
Line 1 Line 1
 /** @file  /** @file
         Parser          Parser: stack class decl.
         Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)  
         Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)  
   
         $Id$          Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com)
           Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 #ifndef PA_STACK_H  #ifndef PA_STACK_H
 #define PA_STACK_H  #define PA_STACK_H
   
   static const char* IDENT_STACK_H="$Date$";
   
   #include "pa_config_includes.h"
 #include "pa_array.h"  #include "pa_array.h"
   
 /// simple stack based on Array  /// simple stack based on Array
Line 30  public: Line 32  public:
         }          }
   
         int top_index() { return ftop-1; }          int top_index() { return ftop-1; }
           void top_index(int top_index) { ftop=top_index+1; }
         Item *top_value() { return get(top_index()); }          Item *top_value() { return get(top_index()); }
   
 private:  private:

Removed from v.1.7  
changed lines
  Added in v.1.16


E-mail: