qt5base-lts/qmake
Edward Welbourne cfcbf38f76 Teach qmake about digit-grouping apostrophes in numeric literals
It was previously understanding them as character literal delimiters,
with unfortunate consequences if a numeric literal contained an odd
number of them. Recognize that an apostrophe with a digit on each side
of it isn't the opening quote of a character literal (unless the digit
before it is preceded by a u). Extend the findMocs test to trigger the
bug, prior to the fix; verified it passes with the fix.

Fixes: QTBUG-98845
Change-Id: I5db3ac59aaeade7c2d6c1fb680ba97261ec0e8a9
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-17 00:05:53 +02:00
..
doc qmake: Document Xcode behavior when bundling translation files 2022-06-14 15:45:06 +02:00
generators Teach qmake about digit-grouping apostrophes in numeric literals 2022-06-17 00:05:53 +02:00
library Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cachekeys.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt qmake: Use qVersion for version reporting instead of QT_VERSION_STR 2022-05-06 12:51:12 +02:00
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
meta.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
meta.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
option.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
option.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
property.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
property.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
propertyprinter.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
propertyprinter.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmake_pch.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakelibraryinfo.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakelibraryinfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00