qdoc: Report multiple topic commands as an error
authorMartin Smith <martin.smith@nokia.com>
Thu, 28 Jun 2012 08:46:59 +0000 (10:46 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jun 2012 10:35:14 +0000 (12:35 +0200)
commitba892305960b37846ee49a90c5684aa8dbfd3d72
tree1e4d6da961448ef7d9d155421c3d5dc4a3a7aa6c
parenta85759f07799ca57ffb436f103b863073cee315c
qdoc: Report multiple topic commands as an error

Some documenters are using two topic commands in a single qdoc
comment. This is only allowed for \qmlproperty so that multiple QML
properties can be documented with a single comment. qdoc now reports
an error for all other combinations of multiple topic commands.

Task Nr: QTBUG-26345

Change-Id: I1f9a6d2502ccffa76c2d41f961be3750014a0a56
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/tools/qdoc/cppcodeparser.cpp
src/tools/qdoc/generator.cpp
src/tools/qdoc/generator.h
src/tools/qdoc/main.cpp