ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/share/source-highlight/errors.lang

15 lines
412 B
Plaintext

# highlight errors like compiler output errors, e.g.
# filename:line:col: warning: etc...
# the path can also start with a drive letter and :
state (path,symbol,function,symbol,function,symbol) =
`((?:[[:alpha:]]:)?[^[:blank:]:]+)(:)([[:digit:]]+)(:?)([[:digit:]]*)(:?)` begin
warning = "warning:"
error = "error:"
string delim "\"" "\""
string delim "`" "'"
string delim "'" "'"
normal = '\z' exit
end