misc/syntax/Syntax.in: simplify regex for PO and CUDA syntaxes.

This commit is contained in:
Andrew Borodin 2018-10-20 19:16:04 +03:00
parent 5ca9943cf3
commit 5a2730ae8c

View File

@ -181,7 +181,7 @@ include m4.syntax
file ..\*\\.(bat|cmd)$ DOS\sBatch
include dos.syntax
file ..\*\\.(po|pot|pox)$ PO\sFile
file ..\*\\.po[tx]?$ PO\sFile
include po.syntax
file ..\*\\.(?i:asm|s)$ ASM\sProgram
@ -277,7 +277,7 @@ include puppet.syntax
file ..\*\\.(glsl|vert|frag|geom)$ GLSL\sProgram
include glsl.syntax
file ..\*\\.(cu|cuh)$ CUDA\sProgram
file ..\*\\.cuh?$ CUDA\sProgram
include cuda.syntax
file ..\*\\.cl$ OpenCL\sProgram