diff options
-rw-r--r-- | src/commentcnv.l | 11 |
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; |