Commit 54e87756 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fixed problem handling C comments inside a \code block.

parent a07d3d48
......@@ -48,3 +48,4 @@ Makefile
/src/vhdlparser.cpp
/src/vhdlparser.h
/src/vhdlscanner.cpp
/doc/translator_report.txt
This diff is collapsed.
......@@ -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
{
......
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