From eb2c0bb6ee6ce1e3d4fc5a5b9ca47ffa4bc31610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 24 Oct 2020 22:53:15 +0200 Subject: [PATCH] Fix TestExprEngine --- lib/tokenize.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 8d175408e..acbf81e26 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -9493,6 +9493,8 @@ void Tokenizer::reportUnknownMacros() continue; if (cAlternativeTokens.count(tok->linkAt(2)->next()->str()) > 0) continue; + if (tok->next()->str().compare(0, 2, "__") == 0) // attribute/annotation + continue; unknownMacroError(tok->next()); } }