- parts=line.split(None, 3)
- code=eval(parts[1])-0x2020
- code2=(code&0xFF)+((code>>8)&0xFF)*94-95
+ parts = line.split(None, 3)
+ code = eval(parts[1])-0x2020
+ code2 = (code&0xFF)+((code>>8)&0xFF)*94-95
out.write("namespace {\n\n")
data.sort(lambda x,y: cmp(x[0],y[0]))
out.write("const unsigned short jisx0208_to_ucs_table[94*94] =\n{\n\t")
out.write("namespace {\n\n")
data.sort(lambda x,y: cmp(x[0],y[0]))
out.write("const unsigned short jisx0208_to_ucs_table[94*94] =\n{\n\t")