Skip to content

Commit 3eeeaef

Browse files
committed
Tokenizer::simplifyTypedef: ensure externC flag is preserved when simplifying typedefs
1 parent f5e51ea commit 3eeeaef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/tokenize.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ namespace {
964964
to->next()->column(to->column());
965965
to = to->next();
966966
to->isSimplifiedTypedef(true);
967+
to->isExternC(from->isExternC());
967968
}
968969
return to;
969970
}

0 commit comments

Comments
 (0)