qt5base-lts/qmake/generators
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
..
mac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
unix Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefiledeps.cpp Teach qmake about digit-grouping apostrophes in numeric literals 2022-06-17 00:05:53 +02:00
makefiledeps.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
projectgenerator.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
projectgenerator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00