summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-04 18:04:42 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-04 18:04:42 (GMT)
commit2ed3d33a92dbcdf0a0149c5f06909926e44cdebd (patch)
treebe3788c007ca3787c2cad6794c39243b85c124c7 /src/commentscan.l
parent8cfac90d6c8632436db1a6b650a05a8dfcfab5d0 (diff)
downloadDoxygen-2ed3d33a92dbcdf0a0149c5f06909926e44cdebd.zip
Doxygen-2ed3d33a92dbcdf0a0149c5f06909926e44cdebd.tar.gz
Doxygen-2ed3d33a92dbcdf0a0149c5f06909926e44cdebd.tar.bz2
Fixed issues with @parblock and added regression test case
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 0d08e5c..2170dc2 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -2403,6 +2403,11 @@ static bool handleParBlock(const QCString &)
warn(yyFileName,yyLineNr,
"found \\parblock command while already in a parblock!");
}
+ if (!g_spaceBeforeCmd.isEmpty())
+ {
+ addOutput(g_spaceBeforeCmd);
+ g_spaceBeforeCmd.resize(0);
+ }
addOutput("@parblock ");
g_insideParBlock = TRUE;
return FALSE;