aboutsummaryrefslogtreecommitdiff
path: root/lib/Lexer
diff options
context:
space:
mode:
authorov-4 <hausemasterstream@gmail.com>2026-01-30 03:29:51 +0000
committerov-4 <hausemasterstream@gmail.com>2026-01-30 03:29:51 +0000
commit80420b0f92f42edc0a3cac4490a08adb8b2457dc (patch)
treeddb400d8a6a7841479a7169c79a162173eb07384 /lib/Lexer
parent766a4b8e5236bffb40984439a79186c5ee823ff8 (diff)
Changed INTEGER from i32 to i64
Diffstat (limited to 'lib/Lexer')
-rw-r--r--lib/Lexer/Lexer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lexer/Lexer.cc b/lib/Lexer/Lexer.cc
index 780c79a..51e27dd 100644
--- a/lib/Lexer/Lexer.cc
+++ b/lib/Lexer/Lexer.cc
@@ -53,7 +53,7 @@ int Lexer::gettok() {
NumStr += LastChar;
LastChar = getchar();
} while (isdigit(LastChar));
- NumVal = strtol(NumStr.c_str(), nullptr, 10);
+ NumVal = strtoll(NumStr.c_str(), nullptr, 10);
return tok_number;
}