Added proper logging capabilities
This commit is contained in:
1 parent
903b4da7df
commit
9dedcf30b1
6 files changed
+115
-8
No files matched your search
+3
-1
@@ -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