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 @@...@@ -3,7 +3,7 @@
3![loc](https://sloc.xyz/github/nektro/zig-intrusive-parser)3![loc](https://sloc.xyz/github/nektro/zig-intrusive-parser)
4[![license](https://img.shields.io/github/license/nektro/zig-intrusive-parser.svg)](https://github.com/nektro/zig-intrusive-parser/blob/master/LICENSE)4[![license](https://img.shields.io/github/license/nektro/zig-intrusive-parser.svg)](https://github.com/nektro/zig-intrusive-parser/blob/master/LICENSE)
5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)5[![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/)
7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)
88
9Core plumbing to make text or binary document parsers with Data Oriented Design9Core 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 {...@@ -82,7 +82,7 @@ pub const Parser = struct {
82 }82 }
8383
84 pub fn eatAnyScalar(p: *Parser, test_s: string) !?u8 {84 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));
86 try p.peekAmt(1) orelse return null;86 try p.peekAmt(1) orelse return null;
87 if (std.mem.indexOfScalar(u8, test_s, p.slice()[0])) |idx| {87 if (std.mem.indexOfScalar(u8, test_s, p.slice()[0])) |idx| {
88 p.idx += 1;88 p.idx += 1;