fixed module analysis
This commit is contained in:
@@ -310,7 +310,7 @@ static void getModuleSymbols(SgStatement* func, set<SgSymbol*>& symbs)
|
|||||||
SgSymbol* s = func->symbol()->next();
|
SgSymbol* s = func->symbol()->next();
|
||||||
while (s)
|
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);
|
symbs.insert(s);
|
||||||
s = s->next();
|
s = s->next();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2399"
|
#define VERSION_SPF "2400"
|
||||||
|
|||||||
Reference in New Issue
Block a user