summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-08-06 11:48:27 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-08-06 11:48:27 (GMT)
commit624a187c926b69bdfc11fca8e929b71938b28eff (patch)
tree340cca67808f566b0c458391835834e717e26a61 /src/commentcnv.l
parente2bafacf8c0f6ef0dd7f9f4958a125761bda31ec (diff)
downloadDoxygen-624a187c926b69bdfc11fca8e929b71938b28eff.zip
Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.gz
Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.bz2
Release-1.4.4-20050806
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index fa72e3f..a3d62a4 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -320,12 +320,16 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^' \\\n]{1,4}"'"))
copyToOutput(yytext,yyleng);
BEGIN(CComment);
}
-<CComment>[\\@]("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"rtfonly"|"manonly"|"dot"|"code"|"f$"|"f[")/[ \r\t\n] { /* start of a verbatim block */
+<CComment>[\\@]("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"rtfonly"|"manonly"|"dot"|"code"|"f$"|"f["|"f{")/[^a-z_A-Z0-9] { /* start of a verbatim block */
copyToOutput(yytext,yyleng);
if (yytext[2]=='[')
{
g_blockName="f]";
}
+ else if (yytext[2]=='{')
+ {
+ g_blockName="f}";
+ }
else
{
g_blockName=&yytext[1];
@@ -336,7 +340,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^' \\\n]{1,4}"'"))
<Scan>. { /* any other character */
copyToOutput(yytext,yyleng);
}
-<Verbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"endrtfonly"|"endmanonly"|"enddot"|"endcode"|"f$"|"f]") { /* end of verbatim block */
+<Verbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"endrtfonly"|"endmanonly"|"enddot"|"endcode"|"f$"|"f]"|"f}") { /* end of verbatim block */
copyToOutput(yytext,yyleng);
if (yytext[1]=='f') // end of formula
{