fixed module analysis

This commit is contained in:
ALEXks
2025-03-23 15:15:00 +03:00
committed by Dudarenko
parent 996f7ead1b
commit a55440c071
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"