Mercurial > vim
comparison runtime/syntax/strace.vim @ 6530:435956324539
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 25 Jan 2015 13:02:57 +0100 |
parents | 3fc0f57ecb91 |
children | 43efa4f5a8ea |
comparison
equal
deleted
inserted
replaced
6529:3d2db5a7403f | 6530:435956324539 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " This is a GENERATED FILE. Please always refer to source file at the URI below. | 2 " This is a GENERATED FILE. Please always refer to source file at the URI below. |
3 " Language: strace output | 3 " Language: strace output |
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> | 4 " Maintainer: David Necas (Yeti) <yeti@physics.muni.cz> |
5 " Last Change: 2002-10-10 | 5 " Last Change: 2015-01-16 |
6 " URL: http://trific.ath.cx/Ftp/vim/syntax/strace.vim | |
7 | 6 |
8 " Setup | 7 " Setup |
9 if version >= 600 | 8 if version >= 600 |
10 if exists("b:current_syntax") | 9 if exists("b:current_syntax") |
11 finish | 10 finish |
15 endif | 14 endif |
16 | 15 |
17 syn case match | 16 syn case match |
18 | 17 |
19 " Parse the line | 18 " Parse the line |
20 syn match straceSpecialChar "\\\d\d\d\|\\." contained | 19 syn match straceSpecialChar "\\\o\{1,3}\|\\." contained |
21 syn region straceString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=straceSpecialChar oneline | 20 syn region straceString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=straceSpecialChar oneline |
22 syn match straceNumber "\W[+-]\=\(\d\+\)\=\.\=\d\+\([eE][+-]\=\d\+\)\="lc=1 | 21 syn match straceNumber "\W[+-]\=\(\d\+\)\=\.\=\d\+\([eE][+-]\=\d\+\)\="lc=1 |
23 syn match straceNumber "\W0x\x\+"lc=1 | 22 syn match straceNumber "\W0x\x\+"lc=1 |
24 syn match straceNumberRHS "\W\(0x\x\+\|-\=\d\+\)"lc=1 contained | 23 syn match straceNumberRHS "\W\(0x\x\+\|-\=\d\+\)"lc=1 contained |
25 syn match straceOtherRHS "?" contained | 24 syn match straceOtherRHS "?" contained |