mirror of
https://github.com/pantor/inja.git
synced 2026-11-21 07:02:40 +00:00
This commit is contained in:
1 parent
8e22d8e668
commit
3741c73ba7
2 files changed
+2
-2
No files matched your search
@@ -213,7 +213,7 @@ class Lexer {
|
|||||||
}
|
}
|
||||||
const char ch = m_in[pos++];
|
const char ch = m_in[pos++];
|
||||||
if (ch == '\\') {
|
if (ch == '\\') {
|
||||||
escape = true;
|
escape = !escape;
|
||||||
} else if (!escape && ch == m_in[tok_start]) {
|
} else if (!escape && ch == m_in[tok_start]) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1198,7 +1198,7 @@ class Lexer {
|
|||||||
}
|
}
|
||||||
const char ch = m_in[pos++];
|
const char ch = m_in[pos++];
|
||||||
if (ch == '\\') {
|
if (ch == '\\') {
|
||||||
escape = true;
|
escape = !escape;
|
||||||
} else if (!escape && ch == m_in[tok_start]) {
|
} else if (!escape && ch == m_in[tok_start]) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user