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.scm | |
| parent | 0dce637073c97752e436ee5a1d1e16bf3dc8e7b2 (diff) | |
| download | crep-c4923c47ffc2309fc3844be80ee0d8392e2fad2b.tar.gz | |
Add GLSL grammar
Diffstat (limited to 'queries/glsl.scm')
| -rw-r--r-- | queries/glsl.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/glsl.scm b/queries/glsl.scm new file mode 100644 index 0000000..870ebfb --- /dev/null +++ b/queries/glsl.scm @@ -0,0 +1,9 @@ +(function_definition + type: (_) @ftype + declarator: (function_declarator + declarator: (identifier) @fname + parameters: (parameter_list) @fparams)) + +(struct_specifier + "struct" @ftype + name: (type_identifier) @fname) |
