Skip to content

Commit ad091ee

Browse files
committed
---
yaml --- r: 55252 b: refs/heads/snap-stage3 c: ec9c7c3 h: refs/heads/master v: v3
1 parent 3fc27fb commit ad091ee

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: b6988843e8cf673ee2a147b82ab67ae45548aa0d
4+
refs/heads/snap-stage3: ec9c7c324e5aab7665ef3626b85dba2b1ecdbe29
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/etc/unicode.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ def emit_decomp_module(f, canon, compat):
235235
rf = open(r, "w")
236236

237237
(canon_decomp, compat_decomp, gencats) = load_unicode_data("UnicodeData.txt")
238+
239+
# Explain that the source code was generated by this script.
240+
rf.write('// The following code was generated by "src/etc/unicode.py"\n\n')
241+
238242
emit_property_module(rf, "general_category", gencats)
239243

240244
#emit_decomp_module(rf, canon_decomp, compat_decomp)

branches/snap-stage3/src/libcore/unicode.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
#[doc(hidden)]; // FIXME #3538
1212

13+
// The following code was generated by "src/etc/unicode.py"
14+
1315
pub mod general_category {
1416

1517
fn bsearch_range_table(c: char, r: &'static [(char,char)]) -> bool {

0 commit comments

Comments
 (0)