summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-09-26 19:31:44 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-09-26 19:31:44 (GMT)
commit4df52916170bb81179697d0fa78c7d81fd95415f (patch)
tree197a8a7dd76a8a5efc35da0533f4aeb836dd6ff3 /src
parent2b6d6bf5ef71341af6afec1802c5991318c9692a (diff)
downloadDoxygen-4df52916170bb81179697d0fa78c7d81fd95415f.zip
Doxygen-4df52916170bb81179697d0fa78c7d81fd95415f.tar.gz
Doxygen-4df52916170bb81179697d0fa78c7d81fd95415f.tar.bz2
Fixed problem finding \enduml when using /// style comments.
Diffstat (limited to 'src')
-rw-r--r--src/commentcnv.l11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index ec56b90..352985f 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -450,7 +450,14 @@ void replaceComment(int offset);
copyToOutput(yytext,(int)yyleng);
g_lastCommentContext = YY_START;
g_javaBlock=0;
- g_blockName=&yytext[1];
+ if (qstrcmp(&yytext[1],"startuml")==0)
+ {
+ g_blockName="uml";
+ }
+ else
+ {
+ g_blockName=&yytext[1];
+ }
BEGIN(VerbatimCode);
}
<CComment,ReadLine>[\\@]("f$"|"f["|"f{"[a-z]*) {
@@ -554,7 +561,7 @@ void replaceComment(int offset);
copyToOutput(yytext,(int)yyleng);
}
<Verbatim>^[ \t]*"///" {
- if (g_blockName=="dot" || g_blockName=="msc" || g_blockName=="startuml" || g_blockName.at(0)=='f')
+ if (g_blockName=="dot" || g_blockName=="msc" || g_blockName=="uml" || g_blockName.at(0)=='f')
{
// see bug 487871, strip /// from dot images and formulas.
int l=0;