We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21de4fa commit 6378441Copy full SHA for 6378441
1 file changed
lib/forwardanalyzer.cpp
@@ -845,7 +845,7 @@ namespace {
845
return Break();
846
} else if (Token* callTok = callExpr(tok)) {
847
// TODO: Dont traverse tokens a second time
848
- if (start != callTok && tok != callTok && updateRecursive(callTok->astOperand1()) == Progress::Break)
+ if (start != callTok && tok != callTok && (tok->str() != "." || tok != callTok->astOperand1()) && updateRecursive(callTok->astOperand1()) == Progress::Break)
849
850
// Since the call could be an unknown macro, traverse the tokens as a range instead of recursively
851
if (!Token::simpleMatch(callTok, "( )") &&
0 commit comments