auto merge of #6184 : kud1ing/rust/master, r=sanxiyn

This commit is contained in:
bors 2013-05-02 11:30:41 -07:00
commit ec9c7c324e
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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 {