/usr/share/source-highlight/flex.lang is in libsource-highlight-common 3.1.7-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 | state preproc delim '^%\{' '^%\}' multiline begin
include "cpp.lang"
end
state preproc start '^%[sx]' begin
function = '[[:alpha:]_][[:alnum:]_-]*'
end
state preproc start '^%option' begin
keyword = '[[:alpha:]_][[:alnum:]_-]*'
string delim "\"" "\""
symbol = "="
end
preproc = '^%(array|pointer|[aceknopr])'
state preproc start '[[:alpha:]_][[:alnum:]_-]*' begin
type = '\{[[:alpha:]_][[:alnum:]_-]*\}'
string delim "\"" "\"" escape "\\"
include "symbols.lang"
end
state preproc = '^%%' begin
state preproc = '^%%' begin
include "cpp.lang"
end
function = '<[[:alpha:]_][[:alnum:]_-]*>'
string delim "\"" "\"" escape "\\"
preproc = '\\.'
type = '\{[[:alpha:]_][[:alnum:]_-]*\}'
comment delim "/*" "*/" multiline nested
state cbracket delim "{" "}" multiline nested begin
variable = '\$.'
include "cpp.lang"
end
include "symbols.lang"
end
|