Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jun 29, 2024
1 parent 3a73a08 commit 98fe91f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/forwardanalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ namespace {
if (updateRecursive(tok->next()->astOperand2()) == Progress::Break)
return Break();
actions |= Analyzer::Action::Write; // bailout for switch scope
return Break();
} else if (Token* callTok = callExpr(tok)) {
// TODO: Dont traverse tokens a second time
if (start != callTok && tok != callTok && updateRecursive(callTok->astOperand1()) == Progress::Break)
Expand Down

0 comments on commit 98fe91f

Please sign in to comment.