Skip to content

Commit

Permalink
Bug 723516 - star is not printed in \code environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Feb 3, 2014
1 parent 8309fbd commit 0eaf1cd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/scanner.l
Expand Up @@ -6299,6 +6299,18 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
REJECT;
}
}
<DocCopyBlock>^{B}*"*"+/({ID}|"(") { // Assume *var or *(... is part of source code (see bug723516)
if (docBlockName=="code")
{
QCString indent;
indent.fill(' ',computeIndent(yytext,-1));
docBlock+=indent+"*";
}
else
{
REJECT;
}
}
<DocCopyBlock>^{B}*"*"+/{BN}* { // start of a comment line with one *
if (docBlockName=="code")
{
Expand Down

0 comments on commit 0eaf1cd

Please sign in to comment.