diff --git a/NouVeL/NVL.cpp b/NouVeL/NVL.cpp index 2222950..e1afebd 100644 --- a/NouVeL/NVL.cpp +++ b/NouVeL/NVL.cpp @@ -44,12 +44,10 @@ namespace { while (!current_scope.Scope.empty()) { 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 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) { if (c == x.first) {