From 67ffbe5577fcb22fd7a304d8f7d36ed6cb3f972c Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Thu, 13 Jul 2023 12:31:18 +0200 Subject: [PATCH] Update tokenize.cpp --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index b4961f4b972..648f7addf7a 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -8397,7 +8397,7 @@ void Tokenizer::findGarbageCode() const } } if (Token::Match(tok, "%num%|%bool%|%char%|%str% %num%|%bool%|%char%|%str%") && - !(Token::Match(tok, "%str% %str%") /*|| (Token::Match(tok, "%str% %num%") && tok->next()->isExpandedMacro())*/)) + !(Token::Match(tok, "%str% %str%") || (Token::Match(tok, "%str% %num%") && tok->next()->isExpandedMacro()))) syntaxError(tok); if (Token::Match(tok, "%assign% typename|class %assign%")) syntaxError(tok);