Skip to content

Commit a08a6ac

Browse files
bertskystweil
authored andcommitted
fix initializer syntax
1 parent 2fbb810 commit a08a6ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/training/unicharset/normstrngs.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static bool is_hyphen_punc(const char32 ch) {
5353
0xfe58, // small em dash
5454
0xfe63, // small hyphen-minus
5555
0xff0d, // fullwidth hyphen-minus
56-
0x2e17, // double oblique hyphen (Fraktur)
56+
0x2e17 // double oblique hyphen (Fraktur)
5757
};
5858
for (int kHyphenPuncUnicode : kHyphenPuncUnicodes) {
5959
if (kHyphenPuncUnicode == ch) {
@@ -74,7 +74,7 @@ static bool is_single_quote(const char32 ch) {
7474
0x201B, // single high-reversed-9 quotation mark (PropList.txt)
7575
0x2032, // prime
7676
0x300C, // left corner bracket (East Asian languages)
77-
0xFF07, // fullwidth apostrophe
77+
0xFF07 // fullwidth apostrophe
7878
};
7979
for (int kSingleQuoteUnicode : kSingleQuoteUnicodes) {
8080
if (kSingleQuoteUnicode == ch) {
@@ -96,7 +96,7 @@ static bool is_double_quote(const char32 ch) {
9696
0x301D, // reversed double prime quotation mark (East Asian langs,
9797
// horiz.)
9898
0x301E, // close double prime (East Asian languages written horizontally)
99-
0xFF02, // fullwidth quotation mark
99+
0xFF02 // fullwidth quotation mark
100100
};
101101
for (int kDoubleQuoteUnicode : kDoubleQuoteUnicodes) {
102102
if (kDoubleQuoteUnicode == ch) {

0 commit comments

Comments
 (0)