mirror of
https://github.com/pantor/inja.git
synced 2026-10-06 04:20:36 +00:00
This commit is contained in:
@@ -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