diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-07 11:57:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-07 11:57:24 (GMT) |
commit | 4908c39f8bd18556f868bcc70d3f2f6ff0296c8e (patch) | |
tree | 5741490c03d634c3d991da24a19402989273ef9e /src | |
parent | 1fcabffd1ccad7330fb0b88dfd925c0319ebe2a0 (diff) | |
download | Doxygen-4908c39f8bd18556f868bcc70d3f2f6ff0296c8e.zip Doxygen-4908c39f8bd18556f868bcc70d3f2f6ff0296c8e.tar.gz Doxygen-4908c39f8bd18556f868bcc70d3f2f6ff0296c8e.tar.bz2 |
issue #6715: Errorneous matching of the immediately following block command after @ref
Diffstat (limited to 'src')
-rw-r--r-- | src/commentscan.l | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index a495c5e..027f000 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -2720,6 +2720,11 @@ static bool handleCite(const QCString &s, const QCStringList &) static bool handleFormatBlock(const QCString &s, const QCStringList &optList) { + if (!g_spaceBeforeCmd.isEmpty()) + { + addOutput(g_spaceBeforeCmd); + g_spaceBeforeCmd.resize(0); + } if (optList.isEmpty()) { addOutput("@"+s+" "); |