dunno why i did that
This commit is contained in:
parent
81ebf1d8eb
commit
e397cc3aba
1 changed files with 2 additions and 4 deletions
|
@ -44,12 +44,10 @@ namespace {
|
||||||
while (!current_scope.Scope.empty()) {
|
while (!current_scope.Scope.empty()) {
|
||||||
stream.get(c);
|
stream.get(c);
|
||||||
|
|
||||||
// there cannot be any more scope inside of quoted strings
|
|
||||||
bool no_more_nesting_quotes = (current_scope.Scope.back() == '\'' || current_scope.Scope.back() == '\"');
|
|
||||||
|
|
||||||
// push scope if opening scoper is found
|
// push scope if opening scoper is found
|
||||||
bool set_scope_on_this_iter = false;
|
bool set_scope_on_this_iter = false;
|
||||||
if (!no_more_nesting_quotes) {
|
// there cannot be any more scope inside of quoted strings
|
||||||
|
if (current_scope.Scope.back() != '\'' && current_scope.Scope.back() != '\"') {
|
||||||
for (auto const& x : SCOPER_MAP)
|
for (auto const& x : SCOPER_MAP)
|
||||||
{
|
{
|
||||||
if (c == x.first) {
|
if (c == x.first) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue