diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-01-04 18:04:42 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-01-04 18:04:42 (GMT) |
commit | 2ed3d33a92dbcdf0a0149c5f06909926e44cdebd (patch) | |
tree | be3788c007ca3787c2cad6794c39243b85c124c7 /src/commentscan.l | |
parent | 8cfac90d6c8632436db1a6b650a05a8dfcfab5d0 (diff) | |
download | Doxygen-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.l | 5 |
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; |