fixed DECLARE
This commit is contained in:
@@ -1604,6 +1604,26 @@ static bool runAnalysis(SgProject &project, const int curr_regime, const bool ne
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (curr_regime == EXTRACT_PARALLEL_DIRS)
|
||||
{
|
||||
for (int i = n - 1; i >= 0; --i)
|
||||
{
|
||||
SgFile* file = &(project.file(i));
|
||||
|
||||
SgStatement* st = file->firstStatement();
|
||||
vector<SgStatement*> declares;
|
||||
while (st)
|
||||
{
|
||||
if (st->variant() == ACC_DECLARE_DIR)
|
||||
declares.push_back(st);
|
||||
st = st->lexNext();
|
||||
}
|
||||
|
||||
for (auto& elem : declares)
|
||||
elem->deleteStmt();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (curr_regime == DEF_USE_STAGE1)
|
||||
{
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION_SPF "2381"
|
||||
#define VERSION_SPF "2382"
|
||||
|
||||
Reference in New Issue
Block a user