about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkud1ing <github@kudling.de>2013-05-02 13:37:57 +0300
committerkud1ing <github@kudling.de>2013-05-02 13:37:57 +0300
commit6487cb221bcf7820a9d8458f18080c8f3ef1c2dc (patch)
tree2f3b44dfc7cf7ac6f49283331708016d79a59704
parentc081ffbd1e845687202a975ea2e698b623e5722f (diff)
downloadrust-6487cb221bcf7820a9d8458f18080c8f3ef1c2dc.tar.gz
rust-6487cb221bcf7820a9d8458f18080c8f3ef1c2dc.zip
Explain that the source code was generated by this script
-rwxr-xr-xsrc/etc/unicode.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/unicode.py b/src/etc/unicode.py
index 864cf3daee0..afb3d168480 100755
--- a/src/etc/unicode.py
+++ b/src/etc/unicode.py
@@ -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)