| Index: third_party/sqlite/src/ext/fts3/fts3_porter.c
|
| ===================================================================
|
| --- third_party/sqlite/src/ext/fts3/fts3_porter.c (revision 87306)
|
| +++ third_party/sqlite/src/ext/fts3/fts3_porter.c (working copy)
|
| @@ -129,7 +129,7 @@
|
| /*
|
| ** Vowel or consonant
|
| */
|
| -static const char cType[] = {
|
| +static const char vOrCType[] = {
|
| 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
|
| };
|
| @@ -153,7 +153,7 @@
|
| char x = *z;
|
| if( x==0 ) return 0;
|
| assert( x>='a' && x<='z' );
|
| - j = cType[x-'a'];
|
| + j = vOrCType[x-'a'];
|
| if( j<2 ) return j;
|
| return z[1]==0 || isVowel(z + 1);
|
| }
|
| @@ -162,7 +162,7 @@
|
| char x = *z;
|
| if( x==0 ) return 0;
|
| assert( x>='a' && x<='z' );
|
| - j = cType[x-'a'];
|
| + j = vOrCType[x-'a'];
|
| if( j<2 ) return 1-j;
|
| return isConsonant(z + 1);
|
| }
|
|
|