/usr/share/highlight/langDefs/mod2.lang is in highlight-common 3.18-3build1.
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 | Description="Modula2"
Keywords={
{ Id=1,
List={"GENERIC", "AND", "ARRAY", "BEGIN", "BY", "CASE", "CONST", "DEFINITION", "DIV", "DO", "ELSE", "ELSIF", "END", "EXCEPT", "EXIT", "EXPORT", "FINALLY", "FOR", "FORWARD", "FROM", "IF", "IMPLEMENTATION", "IMPORT", "IN", "LOOP", "MOD", "MODULE", "NOT", "OF", "OR", "PACKEDSET", "POINTER", "PROCEDURE", "QUALIFIED", "RECORD", "REM", "REPEAT", "RETRY", "RETURN", "SET", "THEN", "TO", "TYPE", "UNTIL", "VAR", "WHILE", "WITH"},
},
{ Id=2,
List={"ABS", "BITSET", "BOOLEAN", "CAP", "CARDINAL", "CHAR", "CHR", "DEC", "DISPOSE", "EXCL", "FALSE", "FLOAT", "HALT", "HIGH", "INC", "INCL", "INTEGER", "LONGCARD", "LONGINT", "LONGREAL", "MAX", "MIN", "NEW", "NIL", "ODD", "ORD", "PROC", "REAL", "SIZE", "TRUE", "TRUNC", "TSIZE", "VAL"},
},
{ Id=4,
Regex=[[(\w+?)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
}
Comments={
{ Block=true,
Nested=false,
Delimiter= { [[\(\*]],[[\*\)]],}
}
}
IgnoreCase=false
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
|