Skip to content

Commit

Permalink
auto merge of rust-lang#6184 : kud1ing/rust/master, r=sanxiyn
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed May 2, 2013
2 parents b698884 + 18c46b8 commit ec9c7c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/etc/unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ def emit_decomp_module(f, canon, compat):
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)
Expand Down
2 changes: 2 additions & 0 deletions src/libcore/unicode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ec9c7c3

Please sign in to comment.