Added proper logging capabilities

This commit is contained in:
Pasha Bibko
2025-07-20 18:09:29 +01:00
parent 903b4da7df
commit 9dedcf30b1
6 changed files with 115 additions and 8 deletions

View File

@@ -23,9 +23,14 @@ namespace LXC::Lexer
Token::~Token()
{
// Frees any allocated memory //
if (contents != nullptr)
delete[] contents;
//if (contents != nullptr)
// delete[] contents;
contents = nullptr;
}
std::string LXC::Lexer::Token::LogStr() const
{
return std::string("CALL LogStr() function");
}
}