Skip to content

Commit 6487cb2

Browse files
author
kud1ing
committed
Explain that the source code was generated by this script
1 parent c081ffb commit 6487cb2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/etc/unicode.py

+4
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)

0 commit comments

Comments
 (0)