--- parser3/src/main/pa_string.C 2001/02/14 13:40:55 1.23 +++ parser3/src/main/pa_string.C 2001/02/14 14:15:37 1.24 @@ -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.24 2001/02/14 14:15:37 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