qdoc: Maintain correct nesting level for QML parsing
authorMartin Smith <martin.smith@digia.com>
Tue, 5 Mar 2013 09:52:16 +0000 (10:52 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 5 Mar 2013 11:19:08 +0000 (12:19 +0100)
commit8b10e8c198baa53f892c65d2e41c56df751ff7b8
treed254ce11ae1e40c04c22e9276f609bac45d0e854
parent80af20429715228a69122ee824a64108dfb53809
qdoc: Maintain correct nesting level for QML parsing

qdoc was not incrementing the nesting level when parsing
a UiObjectBinding, which can contain a component definition.
qdoc now increments the nesting level when starting to vidit
a UiObjectBinding and decrements it when ending the visit.

Note this fix does not stop qdoc from reporting that public
signal handlers have not been documented. If that is to be
changed, it will be done separately.

Task-number: QTBUG-29993
Change-Id: Ibd5ef81082e989652b3a15dcc95080a2757e0077
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
src/tools/qdoc/qmlvisitor.cpp
src/tools/qdoc/qmlvisitor.h