summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l6
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
{