move CrearError from LabelManager::reset() to CodeGenerator::reset()

This commit is contained in:
MITSUNARI Shigeo 2022-10-26 16:14:55 +09:00
parent 20b2b1eae1
commit 5e27eddaeb

View file

@ -1485,7 +1485,6 @@ public:
clabelDefList_.clear();
clabelUndefList_.clear();
resetLabelPtrList();
ClearError();
}
void enterLocal()
{
@ -2804,6 +2803,7 @@ public:
}
void reset()
{
ClearError();
resetSize();
labelMgr_.reset();
labelMgr_.set(this);