Cross platform fixes

This commit is contained in:
Bobby Lucero 2025-08-05 01:42:38 -04:00
parent 72a31b28af
commit 313c996edd
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ class Function;
class BuiltinFunction;
// Type tags for the Value union
enum ValueType : uint8_t {
enum ValueType {
VAL_NONE,
VAL_NUMBER,
VAL_BOOLEAN,

View File

@ -8,7 +8,7 @@
#include "../headers/helperFunctions/ShortHands.h"
#include "../headers/ErrorReporter.h"
#define VERSION "0.0.1"
#define VERSION "0.0.2"
class Bob
{

View File

@ -421,7 +421,7 @@ std::vector<Token> Lexer::Tokenize(std::string source){
}
}
tokens.push_back({END_OF_FILE, "eof", line});
tokens.push_back({END_OF_FILE, "eof", line, column});
return tokens;
}

View File

@ -33,7 +33,7 @@ void Bob::runPrompt()
{
this->interpreter = msptr(Interpreter)(true);
cout << "Bob v" << VERSION << ", 2023" << endl;
cout << "Bob v" << VERSION << ", 2025" << endl;
for(;;)
{
string line;