--- parser3/src/main/pa_string.C 2001/02/14 13:40:55 1.23 +++ parser3/src/main/pa_string.C 2001/02/14 15:19:02 1.25 @@ -1,5 +1,5 @@ /* - $Id: pa_string.C,v 1.23 2001/02/14 13:40:55 paf Exp $ + $Id: pa_string.C,v 1.25 2001/02/14 15:19:02 paf Exp $ */ #include @@ -225,7 +225,7 @@ Char_types::Char_types() { } void Char_types::set(char from, char to, int type) { - memset(&types[static_cast(from)], type, to-from); + memset(&types[static_cast(from)], type, to-from+1); } // String_iterator @@ -236,6 +236,10 @@ String_iterator::String_iterator(String& link_row=reinterpret_cast(string.head.preallocated_link); } +String_iterator::String_iterator(String_iterator& asi) { + //TODO +} + char String_iterator::operator()() const { return position?*position:0; }