summaryrefslogtreecommitdiffstats
diff options
authorAhmad Samir <[email protected]>2025-10-19 12:12:43 +0300
committerAhmad Samir <[email protected]>2025-10-26 18:49:54 +0300
commit14f0f48487e5a8797ef412887ffa357d6c48aaae (patch)
tree411d088d29e298e5b3c7f53581267db345e1eae2
parent3e649c9a42c430c904c13a93daa1173dbadf6bd8 (diff)
util/{unicode,xkbdatagen}: fix build with `REUSE-IgnoreStart`HEADdev
Building util/unicode I get: main.cpp:3368:7: error: invalid preprocessing directive #REUSE 3368 | # REUSE-IgnoreStart | ^~~~~ main.cpp:3374:7: error: invalid preprocessing directive #REUSE 3374 | # REUSE-IgnoreEnd | ^~~~~ Amends a53be8b935964836b643f1b40d56fe16a35cf9c4. Pick-to: 6.8 6.10 Change-Id: I21c5c6ecc0a8095d74c3721acf77274a1cc78d60 Reviewed-by: Alexandru Croitor <[email protected]> Reviewed-by: Marc Mutz <[email protected]>
-rw-r--r--util/unicode/main.cpp4
-rw-r--r--util/xkbdatagen/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp
index 1f31febeaaf..d303a369812 100644
--- a/util/unicode/main.cpp
+++ b/util/unicode/main.cpp
@@ -3365,13 +3365,13 @@ int main(int, char **)
QByteArray normalizationCorrections = createNormalizationCorrections();
QByteArray idnaMapping = createIdnaMapping();
- # REUSE-IgnoreStart
+ // REUSE-IgnoreStart
QByteArray header =
"// Copyright (C) 2020 The Qt Company Ltd.\n"
"// SPDX-License-Identifier: Unicode-3.0\n"
"// Qt-Security score:significant reason:default\n"
"\n";
- # REUSE-IgnoreEnd
+ // REUSE-IgnoreEnd
QByteArray note =
"/* This file is autogenerated from the Unicode " DATA_VERSION_S " database. Do not edit */\n\n";
diff --git a/util/xkbdatagen/main.cpp b/util/xkbdatagen/main.cpp
index 4c9227816b1..df0a1be7dbd 100644
--- a/util/xkbdatagen/main.cpp
+++ b/util/xkbdatagen/main.cpp
@@ -374,14 +374,14 @@ int main(int argc, char **argv)
}
QList<XKBLayout> layouts = findLayouts(layoutList);
- # REUSE-IgnoreStart
+ // REUSE-IgnoreStart
// copyright and stuff
printf("// Copyright (C) 2016 The Qt Company Ltd.\n"
"// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only\n"
"// This file is auto-generated, do not edit!\n"
"// (Generated using util/xkbdatagen)\n"
"\n");
- # REUSE-IgnoreEnd
+ // REUSE-IgnoreEnd
// data structure
printf("static struct {\n"