/usr/share/highlight/langDefs/mod3.lang is in highlight-common 3.8-2.
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 | -- Language definition generated by lang2to3
Description="Modula3"
Keywords={
{ Id=1,
List={"and", "do", "from", "not", "repeat", "until", "any", "else", "generic", "object", "return", "untraced", "array", "elsif", "if", "of", "reveal", "value", "as", "end", "import", "or", "root", "var", "begin", "eval", "in", "overrides", "set", "while", "bits", "except", "interface", "procedure", "then", "with", "branded", "exception", "lock", "raise", "to", "by", "exit", "loop", "raises", "try", "case", "exports", "methods", "readonly", "type", "const", "finally", "mod", "record", "typecase", "div", "for", "module", "ref", "unsafe"},
},
{ Id=2,
List={"abs", "bytesize", "extended", "integer", "min", "number", "text", "address", "cardinal", "false", "istype", "mutex", "ord", "true", "adr", "ceiling", "first", "last", "narrow", "real", "trunc", "adrsize", "char", "float", "longreal", "new", "refany", "typecode", "bitsize", "dec", "floor", "loophole", "nil", "round", "val", "boolean", "dispose", "inc", "max", "null", "subarray"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { [[\/\/]] },
},
{ Block=true,
Nested=false,
Delimiter= { [[\(\*]],[[\*\)]],}
}
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-]]
|