Added proper logging capabilities
This commit is contained in:
@@ -92,7 +92,9 @@ namespace LXC::Lexer
|
||||
|
||||
// Getters for the c-string to stop it being reassigned (or deleted) //
|
||||
inline const char* const Str() const { return contents; }
|
||||
operator const char* const() { return contents; }
|
||||
|
||||
// Outputs all the relevant infomration in a string for logging purposes //
|
||||
std::string LogStr() const;
|
||||
|
||||
// The type of the token //
|
||||
const TokenType type;
|
||||
|
||||
Reference in New Issue
Block a user