From a218a52d3627974aa106463670f2ce4bed7555fd Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 22 Jan 2026 11:42:13 +0100 Subject: Add Zig grammar --- queries/zig.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 queries/zig.h (limited to 'queries/zig.h') diff --git a/queries/zig.h b/queries/zig.h new file mode 100644 index 0000000..cf78311 --- /dev/null +++ b/queries/zig.h @@ -0,0 +1,17 @@ +unsigned char query_zig[] = { + 0x28, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, + 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x20, 0x20, + 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x20, 0x28, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x29, 0x20, 0x40, 0x66, 0x6e, 0x61, 0x6d, + 0x65, 0x29, 0x0a, 0x0a, 0x28, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x0a, 0x20, 0x20, 0x28, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x29, 0x20, 0x40, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x0a, + 0x20, 0x20, 0x5b, 0x28, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x64, + 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x29, 0x20, + 0x28, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x29, 0x20, 0x28, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x29, 0x5d, 0x29, 0x0a +}; +unsigned int query_zig_len = 165; -- cgit v1.2.3