auto merge of #6184 : kud1ing/rust/master, r=sanxiyn
This commit is contained in:
commit
ec9c7c324e
2 changed files with 6 additions and 0 deletions
|
|
@ -235,6 +235,10 @@ for i in [r]:
|
|||
rf = open(r, "w")
|
||||
|
||||
(canon_decomp, compat_decomp, gencats) = load_unicode_data("UnicodeData.txt")
|
||||
|
||||
# Explain that the source code was generated by this script.
|
||||
rf.write('// The following code was generated by "src/etc/unicode.py"\n\n')
|
||||
|
||||
emit_property_module(rf, "general_category", gencats)
|
||||
|
||||
#emit_decomp_module(rf, canon_decomp, compat_decomp)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#[doc(hidden)]; // FIXME #3538
|
||||
|
||||
// The following code was generated by "src/etc/unicode.py"
|
||||
|
||||
pub mod general_category {
|
||||
|
||||
fn bsearch_range_table(c: char, r: &'static [(char,char)]) -> bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue