Fix TestExprEngine

This commit is contained in:
Daniel Marjamäki 2020-10-24 22:53:15 +02:00
parent 3876b601d5
commit eb2c0bb6ee
1 changed files with 2 additions and 0 deletions

View File

@ -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());
}
}