commit 0f8eb87382b2953b6c4b62c6f4c42616ce74003c
Author:     Laslo Hunhold <[email protected]>
AuthorDate: Sun Jan 9 12:48:37 2022 +0100
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Sun Jan 9 12:48:37 2022 +0100

    Explicitly log which class wants to override which
    
    The Unicode data may change, leading to overlaps where we mix some
    break-classes (e.g. from emoji-data) into one. For easier debugging,
    these classes are now listed explicitly.
    
    Signed-off-by: Laslo Hunhold <[email protected]>

diff --git a/gen/util.c b/gen/util.c
index 34f3148..5f6488c 100644
--- a/gen/util.c
+++ b/gen/util.c
@@ -422,7 +422,9 @@ set_value_bp(struct properties_payload *payload, 
uint_least32_t cp,
 {
        if (payload->prop[cp].break_property != 0) {
                fprintf(stderr, "set_value_bp: "
-                       "Character break property overlap.\n");
+                       "Character break property overwrite (%s <- %s).\n",
+                       
payload->spec[payload->prop[cp].break_property].enumname,
+                       payload->spec[value].enumname);
                return 1;
        }
        payload->prop[cp].break_property = value;

Reply via email to