diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:58:25 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 12:58:25 +0100 |
| commit | c4923c47ffc2309fc3844be80ee0d8392e2fad2b (patch) | |
| tree | f45eaf718a30d9f9a478bb366dbe7fb9d746925b /queries/glsl.h | |
| parent | 0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 (diff) | |
| download | crep-c4923c47ffc2309fc3844be80ee0d8392e2fad2b.tar.gz | |
Add GLSL grammar
Diffstat (limited to 'queries/glsl.h')
| -rw-r--r-- | queries/glsl.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/queries/glsl.h b/queries/glsl.h new file mode 100644 index 0000000..0a92142 --- /dev/null +++ b/queries/glsl.h @@ -0,0 +1,22 @@ +unsigned char query_glsl[] = { + 0x28, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x20, 0x20, 0x74, + 0x79, 0x70, 0x65, 0x3a, 0x20, 0x28, 0x5f, 0x29, 0x20, 0x40, 0x66, 0x74, + 0x79, 0x70, 0x65, 0x0a, 0x20, 0x20, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x20, 0x28, 0x66, 0x75, 0x6e, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x64, 0x65, 0x63, 0x6c, 0x61, + 0x72, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x20, 0x28, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x29, 0x20, 0x40, 0x66, 0x6e, 0x61, + 0x6d, 0x65, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x20, 0x28, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x29, 0x20, + 0x40, 0x66, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x29, 0x29, 0x0a, 0x0a, + 0x28, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x0a, 0x20, 0x20, 0x22, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x22, 0x20, 0x40, 0x66, 0x74, 0x79, 0x70, 0x65, 0x0a, + 0x20, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x20, 0x28, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x29, 0x20, 0x40, 0x66, 0x6e, 0x61, 0x6d, 0x65, 0x29, 0x0a +}; +unsigned int query_glsl_len = 226; |
