authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:57:29 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:57:29 -07:00
logcf841a5bb507b03e0e8ed1877bce8b9da4b97e3f
treedba18eaa7793316d752c8d4f08bd7e26bde76373
parentc21ce202c557a710fba6a2333f33bee7bbea114c
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.16.0


2 files changed, 4 insertions(+), 4 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.15-f7a41d)](https://ziglang.org/)
6[![Zig](https://img.shields.io/badge/Zig-0.16-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+3-3
......@@ -6,13 +6,13 @@ const nio = @import("nio");
66pub const Parser = struct {
77 any: nio.AnyReadable,
88 allocator: std.mem.Allocator,
9 temp: std.ArrayListUnmanaged(u8) = .{},
9 temp: std.ArrayListUnmanaged(u8) = .empty,
1010 idx: usize = 0,
1111 end: bool = false,
1212 line: usize = 1,
1313 col: usize = 1,
14 data: std.ArrayListUnmanaged(u8) = .{},
15 strings_map: std.StringArrayHashMapUnmanaged(usize) = .{},
14 data: std.ArrayListUnmanaged(u8) = .empty,
15 strings_map: std.StringArrayHashMapUnmanaged(usize) = .empty,
1616 string_tag: u8,
1717
1818 pub fn init(allocator: std.mem.Allocator, any: nio.AnyReadable, string_tag: u8) Parser {