@@ -561,7 +561,7 @@ SLASHopt [/]*
561561 yyextra->inVerbatim =true ;
562562 BEGIN (VerbatimCode);
563563 }
564- <CComment,ReadLine,IncludeFile>" \\ ilinebr" [ \t]+(" ```" [`]*|" ~~~" [~]*) { /* start of markdown code block */
564+ <CComment,ReadLine,IncludeFile>{CMD} " ilinebr" [ \t]+(" ```" [`]*|" ~~~" [~]*) { /* start of markdown code block */
565565 if (!Config_getBool (MARKDOWN_SUPPORT))
566566 {
567567 REJECT;
@@ -1070,7 +1070,7 @@ SLASHopt [/]*
10701070<ReadLine,CopyLine>{RL} {
10711071 copyToOutput (yyscanner,yytext,yyleng);
10721072 }
1073- <ReadLine,CopyLine>{RL}/{B}" \\ ilinebr" {B} {
1073+ <ReadLine,CopyLine>{RL}/{B}{CMD} " ilinebr" {B} {
10741074 copyToOutput (yyscanner,yytext,yyleng);
10751075 }
10761076<ReadLine,CopyLine>{RLopt}/\n {
@@ -1132,13 +1132,13 @@ SLASHopt [/]*
11321132 yyextra->snippetName = " " ;
11331133 BEGIN (SnippetDocTag);
11341134 }
1135- <SnippetDocTag>[^\\\n]+ {
1135+ <SnippetDocTag>[^\\@ \n]+ {
11361136 yyextra->snippetName += yytext;
11371137 }
1138- <SnippetDocTag>" \\ " {
1138+ <SnippetDocTag>{CMD} {
11391139 yyextra->snippetName += yytext;
11401140 }
1141- <SnippetDocTag>(\n|" \\ ilinebr" ) {
1141+ <SnippetDocTag>(\n|{CMD} " ilinebr" ) {
11421142 for (int i=(int )yyleng-1 ;i>=0 ;i--) unput (yytext[i]);
11431143 yyextra->snippetName = yyextra->snippetName .stripWhiteSpace ();
11441144 QCString blockId = " [" +yyextra->snippetName +" ]" ;
@@ -1204,7 +1204,7 @@ SLASHopt [/]*
12041204<CComment,ReadLine,IncludeFile,Verbatim,VerbatimCode>[\\@][a-z_A-Z][a-z_A-Z0-9 -]* { // expand alias without arguments
12051205 replaceAliases (yyscanner,yytext,YY_START==ReadLine && yyextra->readLineCtx ==SComment);
12061206 }
1207- <CComment,ReadLine,IncludeFile,Verbatim,VerbatimCode>{B}?" \\ ilinebr" {B}[\\@]" ialias{" { // expand alias with arguments
1207+ <CComment,ReadLine,IncludeFile,Verbatim,VerbatimCode>{B}?{CMD} " ilinebr" {B}[\\@]" ialias{" { // expand alias with arguments
12081208 yyextra->lastBlockContext =YY_START;
12091209 yyextra->blockCount =1 ;
12101210 int extraSpace = (yytext[0 ]==' ' ? 1 :0 );
0 commit comments