Diff for /parser3/src/classes/table.C between versions 1.326 and 1.327

version 1.326, 2016/09/08 20:41:47 version 1.327, 2016/09/21 00:04:05
Line 171  public: Line 171  public:
 inline lsplit_sresult lsplit(char* *string_ref, const char* delims, StringSplitHelper& helper) {  inline lsplit_sresult lsplit(char* *string_ref, const char* delims, StringSplitHelper& helper) {
         lsplit_sresult result;          lsplit_sresult result;
         if(char *pos=*string_ref) {          if(char *pos=*string_ref) {
                 while(char* v=strpbrk(pos, delims)) {                  while(pos=strpbrk(pos, delims)) {
                         if(helper.check_lang(v)){                          if(helper.check_lang(pos)){
                                 result.delim=*v;                                  result.delim=*pos;
                                 *v=0;                                  *pos=0;
                                 result.piece=helper.extract(*string_ref);                                  result.piece=helper.extract(*string_ref);
                                 *string_ref=v+1;                                  *string_ref=pos+1;
                                 return result;                                  return result;
                         }                          }
                         pos=v+1;                          pos++;
                 }                  }
                 result.piece=helper.extract(*string_ref);                  result.piece=helper.extract(*string_ref);
                 *string_ref=0;                  *string_ref=0;
Line 208  static lsplit_sresult lsplit(char** stri Line 208  static lsplit_sresult lsplit(char** stri
                                                 }                                                  }
                                         }                                          }
                                         pos=v+1;                                          pos=v+1;
                                 }{                                  } else {
                                         result.append(helper.extract(*string_ref));                                          result.append(helper.extract(*string_ref));
                                         *string_ref=0;                                          *string_ref=0;
                                         return result;                                          return result;

Removed from v.1.326  
changed lines
  Added in v.1.327


E-mail: