--- parser3/src/main/pa_string.C 2001/03/29 16:12:46 1.55 +++ parser3/src/main/pa_string.C 2001/03/30 09:58:59 1.58 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.C,v 1.55 2001/03/29 16:12:46 paf Exp $ + $Id: pa_string.C,v 1.58 2001/03/30 09:58:59 paf Exp $ */ #include "pa_config_includes.h" @@ -295,6 +295,7 @@ int String::cmp(int& partial, const Stri } } +/// @todo now fix like prev one. table:append doent not work because of this int String::cmp(int& partial, const char* b_ptr, size_t src_size) const { size_t b_size=src_size?src_size:b_ptr?strlen(b_ptr):0; @@ -396,8 +397,20 @@ break2: return result; } -size_t String::pos(const String& substr) const { - for(size_t result=0; result