Compiles on UNIX based systems
This commit is contained in:
@@ -11,10 +11,10 @@ namespace LXC::Lexer
|
||||
|
||||
// Trackers for the Lexer itself //
|
||||
const std::string& source;
|
||||
__int32 index;
|
||||
uint32_t index;
|
||||
|
||||
LexerOutput out;
|
||||
const __int32 len;
|
||||
const uint32_t len;
|
||||
|
||||
// Trackers for where the Lexer is within the user version of source //
|
||||
unsigned short column;
|
||||
@@ -32,7 +32,7 @@ namespace LXC::Lexer
|
||||
};
|
||||
|
||||
// Constructor to pass arguments through to the struct //
|
||||
LexerError(Reason _reason, __int32 errorIndex, std::string _info = "")
|
||||
LexerError(Reason _reason, uint32_t errorIndex, std::string _info = "")
|
||||
: reason(_reason), index(errorIndex), info(_info)
|
||||
{}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace LXC::Lexer
|
||||
|
||||
// Error information //
|
||||
const Reason reason;
|
||||
const __int32 index;
|
||||
const uint32_t index;
|
||||
const std::string info;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user