Index: third_party/sqlite/sqlite-src-3070603/ext/fts3/fts3_porter.c |
diff --git a/third_party/sqlite/src/ext/fts3/fts3_porter.c b/third_party/sqlite/sqlite-src-3070603/ext/fts3/fts3_porter.c |
similarity index 99% |
copy from third_party/sqlite/src/ext/fts3/fts3_porter.c |
copy to third_party/sqlite/sqlite-src-3070603/ext/fts3/fts3_porter.c |
index f7f047c8fcc29a4d1b1337dcdebc65b5b1a49d3e..27f9cf39d7535e4272017df2613f9aba4461f215 100644 |
--- a/third_party/sqlite/src/ext/fts3/fts3_porter.c |
+++ b/third_party/sqlite/sqlite-src-3070603/ext/fts3/fts3_porter.c |
@@ -129,7 +129,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 |
}; |
@@ -153,7 +153,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); |
} |
@@ -162,7 +162,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); |
} |