From dceb9255736c69538293ee551272cda1b03a9fd3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 23 Aug 2024 11:38:54 -0400 Subject: Bugfix for parsing ints --- typecheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'typecheck.c') diff --git a/typecheck.c b/typecheck.c index d8e0f6e1..bb40666f 100644 --- a/typecheck.c +++ b/typecheck.c @@ -1367,7 +1367,7 @@ bool is_constant(env_t *env, ast_t *ast) case Int: { auto info = Match(ast, Int); if (info->bits == IBITS_UNSPECIFIED) { - Int_t int_val = Int$from_text(info->str); + Int_t int_val = Int$from_text(info->str, NULL); mpz_t i; mpz_init_set_int(i, int_val); return (mpz_cmpabs_ui(i, BIGGEST_SMALL_INT) <= 0); -- cgit v1.2.3