fts-tokenizer-common.c revision eb568e46e82bc814ca3384236a483691a12f9c54
#include "lib.h"
#include "unichar.h"
#include "fts-tokenizer-common.h"
void
fts_tokenizer_delete_trailing_partial_char(const unsigned char *data,
{
unsigned int char_bytes;
/* the token is truncated - make sure the last character
exists entirely in the token */
break;
}
}
}
void fts_tokenizer_delete_trailing_invalid_char(const unsigned char *data,
{
/* the token may contain '.' in the end - remove all of them. */
while (pos > 0 &&
pos--;
}