Skip to content

Commit

Permalink
fix *.l for three backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
halex2005 committed Mar 30, 2015
1 parent 288ea42 commit bb93db0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pre.l
Expand Up @@ -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)
{
Expand Down Expand Up @@ -2619,7 +2619,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
BEGIN(SkipCComment);
}
}
<SkipVerbatim>"```"[~]* {
<SkipVerbatim>"```"[`]* {
outputArray(yytext,(int)yyleng);
if (g_fenceSize==yyleng)
{
Expand Down
4 changes: 2 additions & 2 deletions src/scanner.l
Expand Up @@ -6271,7 +6271,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
g_nestedComment=FALSE;
BEGIN(DocCopyBlock);
}
<DocBlock>"```"[~]* {
<DocBlock>"```"[`]* {
docBlock+=yytext;
docBlockName="```";
g_fencedSize=yyleng;
Expand Down Expand Up @@ -6396,7 +6396,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
BEGIN(DocBlock);
}
}
<DocCopyBlock>"```"[~]* {
<DocCopyBlock>"```"[`]* {
docBlock+=yytext;
if (g_fencedSize==yyleng)
{
Expand Down

0 comments on commit bb93db0

Please sign in to comment.