equal
deleted
inserted
replaced
1 --- runtime/syntax/dtrace.vim Thu Sep 13 09:27:02 2012 |
1 --- a/runtime/syntax/dtrace.vim Thu Sep 13 09:27:02 2012 |
2 +++ runtime/syntax/dtrace.vim Thu Sep 13 09:27:15 2012 |
2 +++ b/runtime/syntax/dtrace.vim Thu Sep 13 09:27:15 2012 |
3 @@ -40,8 +40,8 @@ |
3 @@ -35,8 +35,8 @@ |
4 " XXX: This allows a probe description to end with ',', even if it's not |
4 " XXX: This allows a probe description to end with ',', even if it's not |
5 " followed by another probe. |
5 " followed by another probe. |
6 " XXX: This doesn't work if followed by a comment. |
6 " XXX: This doesn't work if followed by a comment. |
7 -let s:oneProbe = '\%(BEGIN\|END\|ERROR\|\S\{-}:\S\{-}:\S\{-}:\S\{-}\)\_s*' |
7 -let s:oneProbe = '\%(BEGIN\|END\|ERROR\|\S\{-}:\S\{-}:\S\{-}:\S\{-}\)\_s*' |
8 -exec 'syn match dtraceProbe "'.s:oneProbe.'\%(,\_s*'.s:oneProbe.'\)*\ze\_s\%({\|\/[^*]\|\%$\)"' |
8 -exec 'syn match dtraceProbe "'.s:oneProbe.'\%(,\_s*'.s:oneProbe.'\)*\ze\_s\%({\|\/[^*]\|\%$\)"' |