From 80420b0f92f42edc0a3cac4490a08adb8b2457dc Mon Sep 17 00:00:00 2001 From: ov-4 Date: Fri, 30 Jan 2026 03:29:51 +0000 Subject: Changed INTEGER from i32 to i64 --- lib/Lexer/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Lexer') 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; } -- cgit v1.3.1-4-g156e