| 927 | } |
| 928 | |
| 929 | static Token* getStepTokFromEnd(Token* tok) { |
| 930 | if (!Token::simpleMatch(tok, "}")) |
| 931 | return nullptr; |
| 932 | Token* end = tok->link()->previous(); |
| 933 | if (!Token::simpleMatch(end, ")")) |
| 934 | return nullptr; |
| 935 | return getStepTok(end->link()); |
| 936 | } |
| 937 | }; |
| 938 | } |
| 939 |
no test coverage detected