/usr/share/highlight/langDefs/mod3.lang is in highlight-common 3.41-1.
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 | 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=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
|