Managing bigint memory
This commit is contained in:
@@ -319,7 +319,7 @@ function Ast_Atom *
|
||||
ast_int(Token *pos, BigInt val){
|
||||
AST_NEW(Atom, VALUE, pos, AST_EXPR | AST_ATOM);
|
||||
result->type = untyped_int;
|
||||
bigint_init_bigint(&result->big_int_val, &val);
|
||||
result->big_int_val = bigint_copy(pctx->perm, &val);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user