style fix for pylint complain
This commit is contained in:
parent
8d36ef50c8
commit
9a7b7bd9fc
|
@ -53,19 +53,19 @@ print ()
|
||||||
print ('#include "hb-unicode.hh"')
|
print ('#include "hb-unicode.hh"')
|
||||||
print ()
|
print ()
|
||||||
|
|
||||||
for typ,s in ranges.items():
|
for typ, s in ranges.items():
|
||||||
if typ != "Extended_Pictographic": continue
|
if typ != "Extended_Pictographic": continue
|
||||||
|
|
||||||
arr = dict()
|
arr = dict()
|
||||||
for start,end in s:
|
for start,end in s:
|
||||||
for i in range(start,end):
|
for i in range(start,end):
|
||||||
arr[i] = 1
|
arr[i] = 1
|
||||||
|
|
||||||
sol = packTab.pack_table(arr, 0, compression=3)
|
sol = packTab.pack_table(arr, 0, compression=3)
|
||||||
code = packTab.Code('_hb_emoji')
|
code = packTab.Code('_hb_emoji')
|
||||||
sol.genCode(code, 'is_'+typ)
|
sol.genCode(code, 'is_'+typ)
|
||||||
code.print_c(linkage='static inline')
|
code.print_c(linkage='static inline')
|
||||||
print()
|
print()
|
||||||
|
|
||||||
print ()
|
print ()
|
||||||
print ("#endif /* HB_UNICODE_EMOJI_TABLE_HH */")
|
print ("#endif /* HB_UNICODE_EMOJI_TABLE_HH */")
|
||||||
|
|
Loading…
Reference in New Issue