diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-10 18:09:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-10 18:09:33 (GMT) |
commit | 7506404e646f1fcc5a26ca6fca91a7f65154f05a (patch) | |
tree | f97964759aa6238f02bd5b7f853306c19965914d /src/commentcnv.l | |
parent | 97d12d058a7831adcc8c6f2cfe8c20ddd2ae5bc2 (diff) | |
download | Doxygen-7506404e646f1fcc5a26ca6fca91a7f65154f05a.zip Doxygen-7506404e646f1fcc5a26ca6fca91a7f65154f05a.tar.gz Doxygen-7506404e646f1fcc5a26ca6fca91a7f65154f05a.tar.bz2 |
Bug 731947 - Support for PlantUML
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index 4cc9da9..ec56b90 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -446,7 +446,7 @@ void replaceComment(int offset); g_blockName=&yytext[1]; BEGIN(VerbatimCode); } -<CComment,ReadLine>[\\@]("dot"|"code"|"msc")/[^a-z_A-Z0-9] { /* start of a verbatim block */ +<CComment,ReadLine>[\\@]("dot"|"code"|"msc"|"startuml")/[^a-z_A-Z0-9] { /* start of a verbatim block */ copyToOutput(yytext,(int)yyleng); g_lastCommentContext = YY_START; g_javaBlock=0; @@ -517,7 +517,7 @@ void replaceComment(int offset); } } } -<VerbatimCode>[\\@]("enddot"|"endcode"|"endmsc") { /* end of verbatim block */ +<VerbatimCode>[\\@]("enddot"|"endcode"|"endmsc"|"enduml") { /* end of verbatim block */ copyToOutput(yytext,(int)yyleng); if (&yytext[4]==g_blockName) { @@ -554,7 +554,7 @@ void replaceComment(int offset); copyToOutput(yytext,(int)yyleng); } <Verbatim>^[ \t]*"///" { - if (g_blockName=="dot" || g_blockName=="msc" || g_blockName.at(0)=='f') + if (g_blockName=="dot" || g_blockName=="msc" || g_blockName=="startuml" || g_blockName.at(0)=='f') { // see bug 487871, strip /// from dot images and formulas. int l=0; |