Skip to content

Commit b1f1df1

Browse files
committed
bailout [skip ci]
1 parent 2cee634 commit b1f1df1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/library.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,8 @@ std::string Library::getFunctionName(const Token *ftok) const
11551155
// Lookup function name using AST..
11561156
if (ftok->astParent()) {
11571157
bool error = false;
1158+
if (Token::simpleMatch(ftok->astParent(), "."))
1159+
return "";
11581160
const Token * tok = ftok->astParent()->isUnaryOp("&") ? ftok->astParent()->astOperand1() : ftok->next()->astOperand1();
11591161
std::string ret = getFunctionName(tok, error);
11601162
if (error)

0 commit comments

Comments
 (0)