summaryrefslogtreecommitdiff
path: root/pcr/phantomjs/icu65.patch
blob: 7fb02a9affcb4cf98da272c1e350bbbf358acb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- qtwebkit-opensource-src-5.5.1/Source/WebCore/dom/Document.cpp	2019-11-16 16:07:23.611871473 +0100
+++ qtwebkit-opensource-src-5.5.1/Source/WebCore/dom/Document.cpp	2019-11-16 16:16:00.372740867 +0100
@@ -3846,12 +3846,12 @@ static bool isValidNameNonASCII(const UC
     unsigned i = 0;
 
     UChar32 c;
-    U16_NEXT(characters, i, length, c)
+    U16_NEXT(characters, i, length, c);
     if (!isValidNameStart(c))
         return false;
 
     while (i < length) {
-        U16_NEXT(characters, i, length, c)
+        U16_NEXT(characters, i, length, c);
         if (!isValidNamePart(c))
             return false;
     }
@@ -3914,7 +3914,7 @@ bool Document::parseQualifiedName(const
     const UChar* s = qualifiedName.characters();
     for (unsigned i = 0; i < length;) {
         UChar32 c;
-        U16_NEXT(s, i, length, c)
+        U16_NEXT(s, i, length, c);
         if (c == ':') {
             if (sawColon) {
                 ec = NAMESPACE_ERR;
--- qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/graphics/SegmentedFontData.cpp	2019-11-16 16:07:23.705204909 +0100
+++ qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/graphics/SegmentedFontData.cpp	2019-11-16 16:15:32.855982739 +0100
@@ -61,7 +61,7 @@ bool SegmentedFontData::containsCharacte
 {
     UChar32 c;
     for (int i = 0; i < length; ) {
-        U16_NEXT(characters, i, length, c)
+        U16_NEXT(characters, i, length, c);
         if (!containsCharacter(c))
             return false;
     }
--- qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm	2019-11-16 16:07:23.738538279 +0100
+++ qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm	2019-11-16 16:15:08.872567444 +0100
@@ -175,7 +175,7 @@ static BOOL allCharactersInIDNScriptWhit
     int32_t i = 0;
     while (i < length) {
         UChar32 c;
-        U16_NEXT(buffer, i, length, c)
+        U16_NEXT(buffer, i, length, c);
         UErrorCode error = U_ZERO_ERROR;
         UScriptCode script = uscript_getScript(c, &error);
         if (error != U_ZERO_ERROR) {
@@ -746,13 +746,13 @@ static CFStringRef createStringWithEscap
     CFIndex i = 0;
     while (i < length) {
         UChar32 c;
-        U16_NEXT(sourceBuffer, i, length, c)
+        U16_NEXT(sourceBuffer, i, length, c);
         
         if (isLookalikeCharacter(c)) {
             uint8_t utf8Buffer[4];
             CFIndex offset = 0;
             UBool failure = false;
-            U8_APPEND(utf8Buffer, offset, 4, c, failure)
+            U8_APPEND(utf8Buffer, offset, 4, c, failure);
             ASSERT(!failure);
             
             for (CFIndex j = 0; j < offset; ++j) {
@@ -764,7 +764,7 @@ static CFStringRef createStringWithEscap
             UChar utf16Buffer[2];
             CFIndex offset = 0;
             UBool failure = false;
-            U16_APPEND(utf16Buffer, offset, 2, c, failure)
+            U16_APPEND(utf16Buffer, offset, 2, c, failure);
             ASSERT(!failure);
             for (CFIndex j = 0; j < offset; ++j)
                 outBuffer.append(utf16Buffer[j]);