Guarding agains big ints which are not implemented yet
This commit is contained in:
@@ -325,7 +325,8 @@ ast_float(Token *pos, F64 value){
|
||||
}
|
||||
|
||||
function Ast_Atom *
|
||||
ast_int(Token *pos, S64 integer){
|
||||
ast_int(Token *pos, U64 integer){
|
||||
assert(integer <= S64MAX);
|
||||
AST_NEW(Atom, VALUE, pos, AST_EXPR | AST_ATOM);
|
||||
result->type = untyped_int;
|
||||
result->int_val = integer;
|
||||
|
||||
Reference in New Issue
Block a user