diff options
| author | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-01-31 16:29:38 +0100 |
|---|---|---|
| committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-02-03 17:45:17 +0100 |
| commit | cc63557a515421618038a34ed9990ef2af1a55d4 (patch) | |
| tree | bfa8a0c47b0cba83f861879e6e62d42e8cd459b5 /src/qml/jsruntime/qv4script.cpp | |
| parent | d61e008e18ca5fb79e8b7142334edae6d49e1147 (diff) | |
line-by-line format: Fix state transitions for property definitions
The line-by-line formatter would in certain cases considier that a
property definition was completed after having seen only the `property`
token. Fix the state transition to also handle T_RESERVED_WORD tokens.
Picking this back to previous versions is not trivial as this particular
situation seems to break in different ways first.
Fixes: QTBUG-133398
Pick-to: 6.9
Change-Id: I1123fe41e55d2d31c5d245dafe6c8684bca93e39
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
0 files changed, 0 insertions, 0 deletions
