From b1933b44d1d8d7be55dc9e8c48ae9e226a1a9095 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 31 May 2026 20:50:05 -0700 Subject: [PATCH] update to zig 0.15.2 --- README.md | 2 +- intrusive_parser.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd2bf1d0e5140578d6ebffa7ba6acb6ff8e3a863..c748e16b2e989e72f3d8c74d7aff265b0f2e144e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![loc](https://sloc.xyz/github/nektro/zig-intrusive-parser) [![license](https://img.shields.io/github/license/nektro/zig-intrusive-parser.svg)](https://github.com/nektro/zig-intrusive-parser/blob/master/LICENSE) [![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro) -[![Zig](https://img.shields.io/badge/Zig-0.14-f7a41d)](https://ziglang.org/) +[![Zig](https://img.shields.io/badge/Zig-0.15-f7a41d)](https://ziglang.org/) [![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod) Core plumbing to make text or binary document parsers with Data Oriented Design diff --git a/intrusive_parser.zig b/intrusive_parser.zig index 193d39bb499100cec70133b479912e1108bc90c8..2092851d343caff6c7b51023903a61e249b6cdbf 100644 --- a/intrusive_parser.zig +++ b/intrusive_parser.zig @@ -82,7 +82,7 @@ pub const Parser = struct { } pub fn eatAnyScalar(p: *Parser, test_s: string) !?u8 { - std.debug.assert(extras.matchesAll(u8, test_s, std.ascii.isASCII)); + std.debug.assert(extras.matchesAll(u8, test_s, std.ascii.isAscii)); try p.peekAmt(1) orelse return null; if (std.mem.indexOfScalar(u8, test_s, p.slice()[0])) |idx| { p.idx += 1; -- 2.54.0