authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 20:50:05 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 20:50:05 -07:00
logb1933b44d1d8d7be55dc9e8c48ae9e226a1a9095
treeadb40806fec47769b7727f6b61286a029afafba8
parenta31b480914d15f3d13cdfb586aac950c73beebdd
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


2 files changed, 2 insertions(+), 2 deletions(-)

README.md+1-1
......@@ -3,7 +3,7 @@
33![loc](https://sloc.xyz/github/nektro/zig-intrusive-parser)
44[![license](https://img.shields.io/github/license/nektro/zig-intrusive-parser.svg)](https://github.com/nektro/zig-intrusive-parser/blob/master/LICENSE)
55[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)
6[![Zig](https://img.shields.io/badge/Zig-0.14-f7a41d)](https://ziglang.org/)
6[![Zig](https://img.shields.io/badge/Zig-0.15-f7a41d)](https://ziglang.org/)
77[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)
88
99Core plumbing to make text or binary document parsers with Data Oriented Design
intrusive_parser.zig+1-1
......@@ -82,7 +82,7 @@ pub const Parser = struct {
8282 }
8383
8484 pub fn eatAnyScalar(p: *Parser, test_s: string) !?u8 {
85 std.debug.assert(extras.matchesAll(u8, test_s, std.ascii.isASCII));
85 std.debug.assert(extras.matchesAll(u8, test_s, std.ascii.isAscii));
8686 try p.peekAmt(1) orelse return null;
8787 if (std.mem.indexOfScalar(u8, test_s, p.slice()[0])) |idx| {
8888 p.idx += 1;