Fix trailing whitespace in generated unicde data files
This commit is contained in:
parent
d1282b9f55
commit
c2ad0607b8
@ -150,7 +150,7 @@ def gen_emoji():
|
||||
p('\t\t\treturn true;')
|
||||
p('\t\tdefault: return false;')
|
||||
p('\t}')
|
||||
p('\treturn false; \n}')
|
||||
p('\treturn false;\n}')
|
||||
p('static inline bool\nis_emoji_modifier(char_type code) {')
|
||||
p('\tswitch(code) {')
|
||||
for spec in get_ranges(list(emoji_categories['Emoji_Modifier'])):
|
||||
@ -158,7 +158,7 @@ def gen_emoji():
|
||||
p('\t\t\treturn true;')
|
||||
p('\t\tdefault: return false;')
|
||||
p('\t}')
|
||||
p('\treturn false; \n}')
|
||||
p('\treturn false;\n}')
|
||||
|
||||
|
||||
def gen_wcwidth():
|
||||
@ -189,7 +189,7 @@ def gen_wcwidth():
|
||||
|
||||
p('\t\tdefault: return 1;')
|
||||
p('\t}')
|
||||
p('\treturn 1; \n}')
|
||||
p('\treturn 1;\n}')
|
||||
|
||||
|
||||
parse_ucd()
|
||||
|
||||
4
kitty/emoji.h
generated
4
kitty/emoji.h
generated
@ -282,7 +282,7 @@ is_emoji(char_type code) {
|
||||
return true;
|
||||
default: return false;
|
||||
}
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
static inline bool
|
||||
is_emoji_modifier(char_type code) {
|
||||
@ -291,7 +291,7 @@ is_emoji_modifier(char_type code) {
|
||||
return true;
|
||||
default: return false;
|
||||
}
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
END_ALLOW_CASE_RANGE
|
||||
|
||||
2
kitty/wcwidth-std.h
generated
2
kitty/wcwidth-std.h
generated
@ -2429,7 +2429,7 @@ wcwidth_std(int32_t code) {
|
||||
|
||||
default: return 1;
|
||||
}
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
END_ALLOW_CASE_RANGE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user