This commit is contained in:
Paul 2020-09-06 21:59:21 -05:00
parent c7a5d3c5f1
commit 786672e19d
3 changed files with 5 additions and 4 deletions

View File

@ -1040,7 +1040,8 @@ public:
return false; return false;
} }
static Function* nestedInFunction(const Scope* scope) { static Function* nestedInFunction(const Scope* scope)
{
while (scope) { while (scope) {
if (scope->type == Scope::eFunction) if (scope->type == Scope::eFunction)
break; break;