diff options
author | Topi Reinio <topi.reinio@digia.com> | 2013-12-30 03:53:40 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-31 20:37:46 +0100 |
commit | 631c3dbc800bb9b2e3b227c0a09523f0f7eef0b7 (patch) | |
tree | 283b012e3c8babe0fdb86a40d83b001e6a3ef4c6 /src/gui/accessible | |
parent | 080096590b9bc30fcbaba1bb140f6aee20418e7a (diff) |
qdoc: Fix Q_PROPERTY parsing
When parsing Q_PROPERTY declarations, qdoc tries to always
read an associated value for each matched keyword. This
fails for property declarations including a CONSTANT or
FINAL, as they have no associated values.
This change fixes the above problem and makes the parsing
more robust by checking the return value of matchProperty()
and skipping to closing parenthesis in case of failure.
Task-number: QTBUG-35722
Change-Id: Ia483b8e74aeef19b2e761b21473cd4f765cdca19
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/gui/accessible')
0 files changed, 0 insertions, 0 deletions