From 33e66a5d2fb789b9e35ffe7298188dd2710aed5a Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 12 Feb 2026 02:22:32 -0800 Subject: [PATCH] use extras.parseDigits --- src/astgen.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/astgen.zig b/src/astgen.zig index 299f3e75dca79bf8af7d13768e1ea39a9d8086eb..33ecfc190775d1402a23abc85f69c0bbb539975e 100644 --- a/src/astgen.zig +++ b/src/astgen.zig @@ -223,7 +223,7 @@ const Parser = struct { if (temp.len == 0 and self.nextIs(.word)) { const next_word = self.eat(.word); if (extras.matchesAll(u8, next_word, std.ascii.isDigit)) { - ret = ret ++ &[_]Arg{.{ .int = std.fmt.parseUnsigned(u64, next_word, 10) catch unreachable }}; + ret = ret ++ &[_]Arg{.{ .int = extras.parseDigits(u64, next_word, 10) catch unreachable }}; continue; } temp = temp ++ &[_]string{next_word}; -- 2.54.0