Tokenizer::simplifyTypedef: ensure externC flag is preserved when simplifying typedefs

This commit is contained in:
Daniel Marjamäki 2023-04-09 09:38:12 +02:00
parent f5e51eace7
commit 3eeeaeffd2
1 changed files with 1 additions and 0 deletions

View File

@ -964,6 +964,7 @@ namespace {
to->next()->column(to->column()); to->next()->column(to->column());
to = to->next(); to = to->next();
to->isSimplifiedTypedef(true); to->isSimplifiedTypedef(true);
to->isExternC(from->isExternC());
} }
return to; return to;
} }