diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-07-16 19:44:42 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-07-16 19:51:11 (GMT) |
commit | 54e87756c7b1d03f7fcffb48207fcbde144a9be9 (patch) | |
tree | 537f541ffec3093103b6287ef20bf277cce280c5 /src/scanner.l | |
parent | a07d3d48b6191b3fa628315b27b1aae5368af2e6 (diff) | |
download | Doxygen-54e87756c7b1d03f7fcffb48207fcbde144a9be9.zip Doxygen-54e87756c7b1d03f7fcffb48207fcbde144a9be9.tar.gz Doxygen-54e87756c7b1d03f7fcffb48207fcbde144a9be9.tar.bz2 |
Fixed problem handling C comments inside a \code block.
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scanner.l b/src/scanner.l index 65bb405..8b4722a 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6209,12 +6209,12 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) docBlock+=indent; } } -<DocCopyBlock>^{B}*"*"+/{BN}* { // start of a comment line +<DocCopyBlock>^{B}*+"*"/{BN}* { // start of a comment line if (docBlockName=="code") { QCString indent; - indent.fill(' ',computeIndent(yytext,0)); - docBlock+=indent; + indent.fill(' ',computeIndent(yytext,0)-1); + docBlock+=indent+"*"; } else { |