aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorLuca Di Sera <luca.disera@qt.io>2024-04-26 10:26:29 +0200
committerLuca Di Sera <luca.disera@qt.io>2024-05-08 11:15:40 +0200
commitaac94b9cb6bbfe8e16c8282dcdaf11b36eea4d6e (patch)
treef735f12c40b2d1dc5b10e53943562d3cc8aac275 /tools/qmllint/.prev_CMakeLists.txt
parentd73409cd3e9c0ac770d76494250dcf065910384d (diff)
QML: Allow numeric separators in numeric literalsHEADdev
ES2021 introduced numeric separators in numeric literals to improve readability. For example, one billion can be written "1_000_000_000" where "_" are the numeric separators. Update the QML lexer to allow numeric separators, based on https://262.ecma-international.org/12.0/#prod-NumericLiteralSeparator. Add a non-exhaustive test case to `tst_qqmlparser` to track the behavior. Fixes: QTBUG-123792 Change-Id: Ie62d1f40fc8e0c7678e7dfea16408bdeeba6d150 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Dmitrii Akshintsev <dmitrii.akshintsev@qt.io>
Diffstat (limited to 'tools/qmllint/.prev_CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions