Added proper logging capabilities
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user