std::unicode: remove unused category tables

This commit is contained in:
Piotr Zolnierek 2014-02-26 09:36:11 +01:00
parent 6cbba7c54e
commit 4a00211916
2 changed files with 4 additions and 1341 deletions

View File

@ -165,7 +165,10 @@ def emit_property_module(f, mod, tbl):
keys.sort()
emit_bsearch_range_table(f);
for cat in keys:
if cat == "Cs": continue
if cat not in ["Nd", "Nl", "No", "Cc",
"XID_Start", "XID_Continue", "Alphabetic",
"Lowercase", "Uppercase", "White_Space"]:
continue
f.write(" static %s_table : &'static [(char,char)] = &[\n" % cat)
ix = 0
for pair in tbl[cat]:

File diff suppressed because it is too large Load Diff