Mercurial > cpython-lru_cache-weakref
diff Tools/unicode/makeunicodedata.py @ 47680:b5e02775fffc
Merged revisions 64226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64226 | martin.v.loewis | 2008-06-13 09:47:47 +0200 (Fr, 13 Jun 2008) | 2 lines
Make more symbols static.
........
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 13 Jun 2008 07:50:45 +0000 |
| parents | da47e7e135ae |
| children | 4e6859c6d38c |
line wrap: on
line diff
--- a/Tools/unicode/makeunicodedata.py Fri Jun 13 07:48:19 2008 +0000 +++ b/Tools/unicode/makeunicodedata.py Fri Jun 13 07:50:45 2008 +0000 @@ -234,12 +234,12 @@ print("#define TOTAL_FIRST",total_first, file=fp) print("#define TOTAL_LAST",total_last, file=fp) print("struct reindex{int start;short count,index;};", file=fp) - print("struct reindex nfc_first[] = {", file=fp) + print("static struct reindex nfc_first[] = {", file=fp) for start,end in comp_first_ranges: print(" { %d, %d, %d}," % (start,end-start,comp_first[start]), file=fp) print(" {0,0,0}", file=fp) print("};\n", file=fp) - print("struct reindex nfc_last[] = {", file=fp) + print("static struct reindex nfc_last[] = {", file=fp) for start,end in comp_last_ranges: print(" { %d, %d, %d}," % (start,end-start,comp_last[start]), file=fp) print(" {0,0,0}", file=fp)
