summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-11-26 15:52:17 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2019-11-28 11:04:27 +0100
commit1a1718b3422291ffecdc0f882a9a6255b039d357 (patch)
treea2b97ac3320c465370f5dd3c52848427d435f409 /util
parentfc5dc8c16a57608ea824a7205f4dd7acc824d82f (diff)
Add missing docs for UCD additions at 5.15
Also remove two stray commas pointed out in code-review and some others noticed on checking for similar. This amends commit c3eb521a0f10112df6b61d2592351c4eef2e1f9b. Change-Id: If20c5146b740defe8d25ff61d399031b5c66ded1 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'util')
-rw-r--r--util/unicode/README3
-rw-r--r--util/unicode/main.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/util/unicode/README b/util/unicode/README
index 29594b6caa..0a3926906d 100644
--- a/util/unicode/README
+++ b/util/unicode/README
@@ -37,6 +37,9 @@ To update:
the same time and update text/qt_attribution.json to match; use the
UCD Revision number, rather than the Unicode standard number, as the
Version, for all that qunicodetables.cpp uses the latter.
+* If there are enum additions in qchar.h (public API), be sure to also
+ update the documentation in qchar.cpp for each affected enum,
+ respecting the existing ordering.
* If you don't normally build in the source tree, remember to delete
qtbase/.qmake.stash while you're cleaning up.
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp
index c3465b3045..2fc49221dc 100644
--- a/util/unicode/main.cpp
+++ b/util/unicode/main.cpp
@@ -294,7 +294,7 @@ static const char *grapheme_break_class_string =
" Graphemebreak_E_Modifier,\n"
" Graphemebreak_Glue_After_Zwj,\n"
" Graphemebreak_E_Base_GAZ,\n"
- " NumGraphemeBreakClasses,\n"
+ " NumGraphemeBreakClasses\n"
"};\n\n";
enum GraphemeBreakClass {
@@ -381,7 +381,7 @@ static const char *word_break_class_string =
" WordBreak_Glue_After_Zwj,\n"
" WordBreak_E_Base_GAZ,\n"
" WordBreak_WSegSpace,\n"
- " NumWordBreakClasses,\n"
+ " NumWordBreakClasses\n"
"};\n\n";
enum WordBreakClass {