aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qquickworkerscript.cpp
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2024-12-04 16:38:09 +0100
committerSemih Yavuz <semih.yavuz@qt.io>2024-12-05 23:24:30 +0100
commit5e0006c31b8879898872d2d6cb0ffdd320c7a4c4 (patch)
tree9fc123271e97ddc4c151bcf703ba7a06127a0e16 /src/qmlworkerscript/qquickworkerscript.cpp
parentddbefea493a33a348714f219ab2046dea7c80741 (diff)
qmlformat: test linebreaks for binary operators
Also, fix the regexp handling. Prior to this commit, any character following a divide token was assumed to be part of the regexp literal anda eventually hits the default case in the Lexer::scanRegExp function where it errors out. Restrict the assumption for space characters.scanRegExp determines if the non-space characters are regexp literal or not. Task-number: QTBUG-113590 Change-Id: If2b2b74661a94b3c8cf863d5e0cdc49e4b9046b4 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript.cpp')
0 files changed, 0 insertions, 0 deletions