From 6983830966e90926c369020cee54724d728ed39c Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 8 Jul 2024 21:21:42 +0200 Subject: [PATCH] FIXME: Octal BigInt needs better detection --- src/runestone.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runestone.jl b/src/runestone.jl index 2973c87..faf167f 100644 --- a/src/runestone.jl +++ b/src/runestone.jl @@ -59,7 +59,7 @@ function format_oct_literals(ctx::Context, node::Node) # Padding depends on the value of the literal... str = String(read_bytes(ctx, node)) n = tryparse(UInt128, str) - if n === nothing + if n === nothing || spn > 45 # Do nothing: BigInt oct literal return nothing end