add multifile support

This commit is contained in:
2025-10-30 06:04:02 +03:00
committed by ALEXks
parent 47e2b961e2
commit 03f565f50b
4 changed files with 23 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ using namespace std;
static bool isParentStmt(SgStatement* stmt, SgStatement* parent)
{
// && sgStats.find(stmt->thebif) == sgStats.end()
for (; stmt; stmt = stmt->controlParent())
if (stmt == parent)
return true;