| Index: third_party/sqlite/src/ext/fts3/fts3_porter.c
|
| diff --git a/third_party/sqlite/src/ext/fts3/fts3_porter.c b/third_party/sqlite/src/ext/fts3/fts3_porter.c
|
| index b180ee251ddf786526ea83c5387d82c760c8f007..8fb4c25daa0a9ff27d0f3699ff6bd7e0a6e4c3a5 100644
|
| --- a/third_party/sqlite/src/ext/fts3/fts3_porter.c
|
| +++ b/third_party/sqlite/src/ext/fts3/fts3_porter.c
|
| @@ -128,7 +128,7 @@ static int porterClose(sqlite3_tokenizer_cursor *pCursor){
|
| /*
|
| ** Vowel or consonant
|
| */
|
| -static const char vOrCType[] = {
|
| +static const char cType[] = {
|
| 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0,
|
| 1, 1, 1, 2, 1
|
| };
|
| @@ -152,7 +152,7 @@ static int isConsonant(const char *z){
|
| char x = *z;
|
| if( x==0 ) return 0;
|
| assert( x>='a' && x<='z' );
|
| - j = vOrCType[x-'a'];
|
| + j = cType[x-'a'];
|
| if( j<2 ) return j;
|
| return z[1]==0 || isVowel(z + 1);
|
| }
|
| @@ -161,7 +161,7 @@ static int isVowel(const char *z){
|
| char x = *z;
|
| if( x==0 ) return 0;
|
| assert( x>='a' && x<='z' );
|
| - j = vOrCType[x-'a'];
|
| + j = cType[x-'a'];
|
| if( j<2 ) return 1-j;
|
| return isConsonant(z + 1);
|
| }
|
|
|