fixed module analysis

(cherry picked from commit 6235d11eb7)
This commit is contained in:
ALEXks
2025-03-23 15:15:00 +03:00
committed by xnpster
parent 04661e397d
commit d71e8c5d66
2 changed files with 2 additions and 2 deletions

View File

@@ -310,7 +310,7 @@ static void getModuleSymbols(SgStatement* func, set<SgSymbol*>& symbs)
SgSymbol* s = func->symbol()->next();
while (s)
{
if (IS_BY_USE(s) && s->scope()->symbol()->identifier() == currScope)
if (IS_BY_USE(s) && s->scope() && s->scope()->symbol()->identifier() == currScope)
symbs.insert(s);
s = s->next();
}

View File

@@ -1,3 +1,3 @@
#pragma once
#define VERSION_SPF "2399"
#define VERSION_SPF "2400"