This is syntax definition for SmPL (semantic patch) language used by the Coccinelle tool.
I converted it from John Gardner’s Atom syntax.
You can install this package using Package Control using the name “SmPL (Coccinelle)”.
For development, you will want to clone the repository into “SmPL (Coccinelle)” directory in the Sublime Text’s Packages
directory (Preferences
→ Browse Packages…
):
git clone git@github.com:jtojnar/Sublime-SmPL-Syntax.git 'SmPL (Coccinelle)'
(Or create a symlink with such name from your projects directory.)
After installation, the syntax should automatically apply to files with .cocci
extension.