From e397cc3abaf9b96a77516c9cf89788e46c10e07a Mon Sep 17 00:00:00 2001 From: lachrymaL Date: Sat, 15 May 2021 17:54:24 -0400 Subject: [PATCH] dunno why i did that --- NouVeL/NVL.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) {