/usr/share/highlight/langDefs/oberon.lang is in highlight-common 3.9-1build1.
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 | -- Language definition generated by lang2to3
Description="Oberon"
Keywords={
{ Id=1,
List={"ARRAY", "BEGIN", "CASE", "CONST", "DIV", "DO", "ELSE", "ELSIF", "END", "EXIT", "IF", "IMPORT", "IN", "IS", "LOOP", "MOD", "MODULE", "NIL", "OF", "OR", "", "PROCEDURE", "RECORD", "REPEAT", "RETURN", "THEN", "TO", "TYPE", "UNTIL", "VAR", "WHILE", "WITH", "ABS", "ODD", "CAP", "ASH", "LEN", "MAX", "MIN", "SIZE", "ORD", "CHR", "SHORT", "LONG", "ENTIER", "INC", "DEC", "INCL", "EXCL", "COPY", "NEW", "HALT", "ADR", "BIT", "CC", "LSH", "ROT", "VAL", "GET", "PUT", "MOVE", "NEW", "FOR"},
},
{ Id=2,
List={"BOOLEAN", "CHAR", "SHORTINT", "INTEGER", "LONGINT", "REAL", "LONGREAL", "SET", "ARRAY", "RECORD", "POINTER", "BYTE"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["]],
}
Comments={
{ Block=true,
Nested=false,
Delimiter= { [[\(\*]],[[\*\)]],}
}
}
IgnoreCase=false
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\.|\+|\-|\#]]
|