/usr/share/highlight/langDefs/eiffel.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 | -- Language definition generated by lang2to3
Description="Eiffel"
Keywords={
{ Id=1,
List={"agent", "alias", "all", "and", "as", "assign", "check", "class", "convert", "create", "current", "debug", "deferred", "do", "else", "elseif", "end", "ensure", "expanded", "export", "external", "false", "feature", "from", "frozen", "if", "implies", "indexing", "infix", "inherit", "inspect", "invariant", "is", "like", "local", "loop", "not", "obsolete", "old", "once", "or", "prefix", "precursor", "pure", "redefine", "reference", "rename", "require", "rescue", "result", "retry", "separate", "then", "true", "tuple", "undefine", "creation", "until", "insert"},
},
{ Id=2,
List={"integer", "real", "double", "character", "", "boolean", "string"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
Escape=[=[ %\d{3}|\\x[[:xdigit:]]{2}|%[nNtvbrfa%\?'"]|%$ ]=]
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { [[--]] },
},
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\-|\+|\=|\/|\*|\+|\-|\.]]
--FIXME no default escchar param: regex(%\d{3}|\\x[[:xdigit:]]{2}|%[nNtvbrfa%\?'"]|%$)
|