Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4
-
None
-
8be8426091 (qt/qttools/dev) 8be8426091 (qt/tqtc-qttools/dev)
-
DaVinci 66, DaVinci 67
Description
If there are two definitions for a macro with parameters, for example:
macro.hello.HTML = "<p>Hi, \1</p>" macro.hello.DocBook = "<db:para>Hi, \1</db:para>"
Then qdoc ends up in an inconsistent state when parsing
/*! \page test.html \hello {world} */
because it tries to read the arguments twice (for each macro) from the input stream, regardless of the selected output formats, and obviously fails on the second round.
Attachments
For Gerrit Dashboard: QTBUG-108219 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
442590,1 | qdoc: Attempt to read macro arguments only once | 6.4 | qt/qttools | Status: NEW | +2 | 0 |
442659,1 | qdoc: Attempt to read macro arguments only once | tqtc/lts-6.2 | qt/tqtc-qttools | Status: NEW | +2 | 0 |
441767,3 | qdoc: Attempt to read macro arguments only once | dev | qt/qttools | Status: MERGED | +2 | 0 |