Commit 0eaf1cd5 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 723516 - star is not printed in \code environment

parent 8309fbd9
...@@ -6299,6 +6299,18 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) ...@@ -6299,6 +6299,18 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
REJECT; 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 * <DocCopyBlock>^{B}*"*"+/{BN}* { // start of a comment line with one *
if (docBlockName=="code") if (docBlockName=="code")
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment