Chromium Code Reviews

Unified Diff: source/i18n/affixpatternparser.cpp

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « source/i18n/affixpatternparser.h ('k') | source/i18n/alphaindex.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/affixpatternparser.cpp
diff --git a/source/i18n/affixpatternparser.cpp b/source/i18n/affixpatternparser.cpp
index 41eadef2b3a88a8e22f4b3faa310ce175b1891cc..2ca22a15003657846a57f675865d5e45099b7621 100644
--- a/source/i18n/affixpatternparser.cpp
+++ b/source/i18n/affixpatternparser.cpp
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
* Copyright (C) 2015, International Business Machines
* Corporation and others. All Rights Reserved.
@@ -44,7 +46,8 @@ nextToken(const UChar *buffer, int32_t idx, int32_t len, UChar *token) {
*token = buffer[idx + 1];
if (buffer[idx + 1] == 0xA4) {
int32_t i = 2;
- for (; idx + i < len && i < 4 && buffer[idx + i] == buffer[idx + 1]; ++i);
+ for (; idx + i < len && i < 4 && buffer[idx + i] == buffer[idx + 1]; ++i)
+ ;
return i;
}
return 2;
@@ -66,7 +69,8 @@ nextUserToken(const UChar *buffer, int32_t idx, int32_t len, UChar *token) {
break;
}
int32_t i = 1;
- for (; idx + i < len && i < max && buffer[idx + i] == buffer[idx]; ++i);
+ for (; idx + i < len && i < max && buffer[idx + i] == buffer[idx]; ++i)
+ ;
return i;
}
« no previous file with comments | « source/i18n/affixpatternparser.h ('k') | source/i18n/alphaindex.cpp » ('j') | no next file with comments »

Powered by Google App Engine