/usr/share/highlight/langDefs/crk.lang is in highlight-common 3.18-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | -- Contributed by Conrad Steenberg http://code.google.com/p/crack-language/
Description="Crack"
Keywords={
{ Id=1,
List={"class", "for", "while", "in", "if", "else", "const",
"oper", "return", "this", "abstract", "static", "enum",
"import", "is", "try", "except", "throw", "bind", "release",
"init", "del"
}
},
{ Id=2,
List= { "bool", "byte", "byteptr", "void", "voidptr", "function", "array",
"int", "uint", "int16", "uint16", "int32", "uint32", "int64", "uint64",
"float", "float32", "float64", "intz", "uintz"
}
},
{ Id=3,
Regex=[[@\w+]],
},
{ Id=4,
Regex=[[\@?(\w+)\s*[\(]|Exception|Object|String|VTableBase|Class|StaticString]]
}
}
Strings = {
Delimiter=[["|']],
RawPrefix="r",
Escape = [[ \\t|\\a|\\b|\\n|\\r|\\x[0-9a-fA-F]{2}|\\[0-7]{3} ]],
}
Comments = {
{ Block=true,
Nested=false,
Delimiter = { [[\/\*]], [[\*\/]] }
},
{
Block=false,
Delimiter = { [[//]] }
},
{
Block=false,
Delimiter = { [[#]] }
}
}
IgnoreCase=false
Digits = [[(?:0x|0X)[0-9a-fA-F]+|\d*[\.]?\d+(?:[eE][\-\+]?\d+)?[lLuU]*]]
Operators=[[\{|\}\@|\$|\`|\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~|\||\^]]
EnableIndentation=true
|