summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhalex2005 <halex2005@e1.ru>2015-03-30 16:36:40 (GMT)
committerhalex2005 <halex2005@e1.ru>2015-03-30 16:36:40 (GMT)
commitbb93db0d60fd4cd123dfc886ecd20167068db6ba (patch)
treec1ed62e5f647eebe649de93b96ca08cee7423feb /src
parent288ea42fc27389160c20912003a7972e21195265 (diff)
downloadDoxygen-bb93db0d60fd4cd123dfc886ecd20167068db6ba.zip
Doxygen-bb93db0d60fd4cd123dfc886ecd20167068db6ba.tar.gz
Doxygen-bb93db0d60fd4cd123dfc886ecd20167068db6ba.tar.bz2
fix *.l for three backticks
Diffstat (limited to 'src')
-rw-r--r--src/pre.l4
-rw-r--r--src/scanner.l4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pre.l b/src/pre.l
index 7865966..92912e6 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2465,7 +2465,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
BEGIN(SkipVerbatim);
}
}
-<SkipCComment>"```"[~]* {
+<SkipCComment>"```"[`]* {
static bool markdownSupport = Config_getBool("MARKDOWN_SUPPORT");
if (!markdownSupport)
{
@@ -2619,7 +2619,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
BEGIN(SkipCComment);
}
}
-<SkipVerbatim>"```"[~]* {
+<SkipVerbatim>"```"[`]* {
outputArray(yytext,(int)yyleng);
if (g_fenceSize==yyleng)
{
diff --git a/src/scanner.l b/src/scanner.l
index b9243c9..c309289 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -6271,7 +6271,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
g_nestedComment=FALSE;
BEGIN(DocCopyBlock);
}
-<DocBlock>"```"[~]* {
+<DocBlock>"```"[`]* {
docBlock+=yytext;
docBlockName="```";
g_fencedSize=yyleng;
@@ -6396,7 +6396,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
BEGIN(DocBlock);
}
}
-<DocCopyBlock>"```"[~]* {
+<DocCopyBlock>"```"[`]* {
docBlock+=yytext;
if (g_fencedSize==yyleng)
{