diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-04-12 12:49:18 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-04-17 04:38:22 +0200 |
commit | 62d02c1d509780eca7d3a4c35ac64a0d475d0fe7 (patch) | |
tree | 13b6b2a5f0328b46c3389d1364fa8886d5911228 /src/3rdparty | |
parent | 001d88ae38435a2d108178c5d396839986985bc4 (diff) |
moc: Treat number + characters as Identifier, not Number
While <DIGIT>+<Character> is not a valid identifier by itself in the C++
language, it might become one when using it with the token pasting
operator.
This risks confusing some number literals with suffix as Identifiers,
but those are currently not supported anyway, so this shouldn't break
anything that is currently working.
Fixes: QTBUG-87219
Fixes: QTBUG-124288
Pick-to: 6.7
Change-Id: If73255cc0e6649bc90c52b1d177aac8ff975ae69
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions