Fixed build

This commit is contained in:
PKEuS 2015-07-23 13:15:58 +02:00
parent 1c12378ce9
commit 229d488048
1 changed files with 1 additions and 1 deletions

View File

@ -2023,7 +2023,7 @@ void Tokenizer::simplifyExternC()
if (isC())
return;
for (Token *tok = list.front(); tok; tok = tok->next()) {
if (Token::Match(tok, "extern \"C\")) {
if (Token::simpleMatch(tok, "extern \"C\"")) {
if (tok->strAt(2) == "{") {
tok->linkAt(2)->deleteThis();
tok->deleteNext(2);