fixed 2 more warnings under Clang and converted mode to 4 bools.

This commit is contained in:
Samuel D. Crow
2021-03-23 16:25:37 -05:00
parent fbb60f4e3d
commit 1d3829a47e
3 changed files with 76 additions and 39 deletions

View File

@@ -16,6 +16,22 @@ unsigned int label::nextID;
codeType::codeType(enum CODES t)
{
this->type=t;
if (TRACE)
{
indent();
logfile << "Entering " << CODETYPES[t];
}
++indentLevel;
}
codeType::~codeType()
{
--indentLevel;
if (TRACE)
{
indent();
logfile << "Leaving " << CODETYPES[this->getType()];
}
}
/* label definitions and helper routines */