Diff for /parser3/src/include/pa_string.h between versions 1.18 and 1.19

version 1.18, 2001/02/13 10:30:22 version 1.19, 2001/02/13 10:50:23
Line 120  public: Line 120  public:
                 return static_cast<int>(types[static_cast<unsigned int>(c)]);                   return static_cast<int>(types[static_cast<unsigned int>(c)]); 
         }          }
 private:          private:        
         char type[0x100];          char types[0x100];
 };  };
   
 class String_iterator {  class String_iterator {
Line 130  public: Line 130  public:
         void operator ++() { skip(); }          void operator ++() { skip(); }
         void operator ++(int) { skip(); }          void operator ++(int) { skip(); }
   
         int skip_to(Char_type& types);          int skip_to(Char_types& types);
         bool skip_to(char c);          bool skip_to(char c);
   
         bool eof() { return position; }          bool eof() { return position==0; }
   
         // current char          // current char
         char operator() const;          char operator() () const;
   
 protected:  protected:
         // home string          // home string
         String& string;          String& string;
         // the row in which we are          // the row in which we are
         Chunk::Row *read_here;          String::Chunk::Row *read_here;
         // position in text, eof when 0           // position in text, eof when 0 
         char *position;          const char *position;
         // when read_here reaches this row, move to the next chunk          // when read_here reaches this row, move to the next chunk
         Chunk::Row *link_row;          String::Chunk::Row *link_row;
   
 protected:  protected:
   

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


E-mail: