Permalink
Browse files

fix *.l for three backticks

  • Loading branch information...
halex2005 committed Mar 30, 2015
1 parent 288ea42 commit bb93db0d60fd4cd123dfc886ecd20167068db6ba
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/pre.l
  2. +2 −2 src/scanner.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)
{
@@ -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)
{

0 comments on commit bb93db0

Please sign in to comment.