Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 # 2 #
3 # Parameter $zName must be a path to the file UnicodeData.txt. This command 3 # Parameter $zName must be a path to the file UnicodeData.txt. This command
4 # reads the file and returns a list of mappings required to remove all 4 # reads the file and returns a list of mappings required to remove all
5 # diacritical marks from a unicode string. Each mapping is itself a list 5 # diacritical marks from a unicode string. Each mapping is itself a list
6 # consisting of two elements - the unicode codepoint and the single ASCII 6 # consisting of two elements - the unicode codepoint and the single ASCII
7 # character that it should be replaced with, or an empty string if the 7 # character that it should be replaced with, or an empty string if the
8 # codepoint should simply be removed from the input. Examples: 8 # codepoint should simply be removed from the input. Examples:
9 # 9 #
10 # { 224 a } (replace codepoint 224 to "a") 10 # { 224 a } (replace codepoint 224 to "a")
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 # was specified. 802 # was specified.
803 # 803 #
804 if {$::generate_test_code} { 804 if {$::generate_test_code} {
805 print_test_isalnum sqlite3FtsUnicodeIsalnum $lRange 805 print_test_isalnum sqlite3FtsUnicodeIsalnum $lRange
806 print_fold_test sqlite3FtsUnicodeFold $mappings 806 print_fold_test sqlite3FtsUnicodeFold $mappings
807 print_test_main 807 print_test_main
808 } 808 }
809 809
810 puts "#endif /* defined(SQLITE_ENABLE_FTS3) || defined(SQLITE_ENABLE_FTS4) */" 810 puts "#endif /* defined(SQLITE_ENABLE_FTS3) || defined(SQLITE_ENABLE_FTS4) */"
811 puts "#endif /* !defined(SQLITE_DISABLE_FTS3_UNICODE) */" 811 puts "#endif /* !defined(SQLITE_DISABLE_FTS3_UNICODE) */"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698