Skip to content

Commit 6923bd1

Browse files
committed
fix
1 parent 086ea79 commit 6923bd1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/checkio.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ void CheckIOImpl::checkFileUsage()
155155
tok = tok->linkAt(1);
156156
continue;
157157
}
158+
if (tok->function() && tok->function()->nestedIn)
159+
continue;
158160
if (tok->str() == "{")
159161
indent++;
160162
else if (tok->str() == "}") {

0 commit comments

Comments
 (0)