Ticket #1469: strace.syntax

strace.syntax: add file to support strace syntax
    Syntax, Makefile.am: enable strace.syntax

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
This commit is contained in:
Denis Briand 2009-08-06 20:21:42 +04:00 committed by Stan. S. Krupoderov
parent d57c955cea
commit e03b8504f5
3 changed files with 47 additions and 0 deletions

View File

@ -49,6 +49,7 @@ SYNTAXFILES = \
smalltalk.syntax \
slang.syntax \
spec.syntax \
strace.syntax \
sql.syntax \
swig.syntax \
syntax.syntax \

View File

@ -202,5 +202,8 @@ include erlang.syntax
file .\*named.conf$ Bind9\sconfiguration
include named.syntax
file .\*\\.strace$ Strace\sdebug\soutput
include strace.syntax
file .\* unknown
include unknown.syntax

43
syntax/strace.syntax Normal file
View File

@ -0,0 +1,43 @@
context default
keyword access(*) green
keyword execve(*) brightgreen
keyword uname(*) brightblue
keyword open(*) cyan
keyword close(*) cyan
keyword read(*) magenta
keyword select(*) magenta
keyword write(*) magenta
keyword readv(*) brightmagenta
keyword writev(*) brightmagenta
keyword fcntl64(*) white
keyword fstat64(*) white
keyword stat64(*) white
keyword old_mmap(*) red
keyword mmap2(*) red
keyword munmap(*) red
keyword exit_group(*) brightred
keyword kill(*) brightred
keyword wait4(*) brightred
keyword statfs(*) brightred
keyword ioctl(*) brightred
keyword rt_sigaction(*) brightred
keyword rt_sigprocmask(*) brightred
keyword alarm(*) brightred
keyword brk(*) brightred
keyword chown32(*) yellow
keyword chmod(*) yellow
keyword geteuid32(*) yellow
keyword getegid32(*) yellow
keyword getuid32(*) yellow
keyword getgid32(*) yellow
keyword setresuid32(*) yellow
keyword setresgid32(*) yellow
keyword gettimeofday(*) yellow