summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-09-07 11:57:24 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-09-07 11:57:24 (GMT)
commit4908c39f8bd18556f868bcc70d3f2f6ff0296c8e (patch)
tree5741490c03d634c3d991da24a19402989273ef9e
parent1fcabffd1ccad7330fb0b88dfd925c0319ebe2a0 (diff)
downloadDoxygen-4908c39f8bd18556f868bcc70d3f2f6ff0296c8e.zip
Doxygen-4908c39f8bd18556f868bcc70d3f2f6ff0296c8e.tar.gz
Doxygen-4908c39f8bd18556f868bcc70d3f2f6ff0296c8e.tar.bz2
issue #6715: Errorneous matching of the immediately following block command after @ref
-rw-r--r--src/commentscan.l5
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+" ");