Use C parser for GLSL files and CUDA parser for CUDA files
commit92e2a783795b2c893185a309dd7675d40d970850
authorJiří Techet <techet@gmail.com>
Thu, 30 Dec 2021 16:19:27 +0000 (30 17:19 +0100)
committerJiří Techet <techet@gmail.com>
Mon, 14 Mar 2022 18:54:12 +0000 (14 19:54 +0100)
treeb3d6f2e2f8a62d27f7a8e3cbe5add840777d606e
parent6671d3c3145e0beaa5af4f4c6fafd884fd658904
Use C parser for GLSL files and CUDA parser for CUDA files

The GLSL portion of c.c doesn't seem to do anything - it's just a synonym
for a C parser which can be used directly instead. This way we can
switch to the new cxx parser for GLSL too and reduce one more language
to care about in c.c.

For reference, the GLSL "parser" was introduced in commit

6ce421f1411060b8576bdac982cca11229b8ef96

Since we need to keep original identifiers for parsers and need some
parser instead of the removed GLSL parser, we can replace it with
the CUDA parser that is part of the new cxx parser and we can use
this parser for parsing CUDA files instead of C++ (the CUDA parser
is basically just C++ parsers with different keywords).
ctags/parsers/geany_c.c
data/filedefs/filetypes.CUDA.conf
src/filetypes.c
src/tagmanager/tm_parser.c
src/tagmanager/tm_parser.h
src/tagmanager/tm_parsers.h