components/vim/patches/7197223.patch
author April Chin <april.chin@oracle.com>
Mon, 04 May 2015 10:54:49 -0700
branchs11-update
changeset 4241 9c60eb0ab04b
parent 2352 1899f4fc74c6
child 7049 e8d705cba87d
permissions -rw-r--r--
PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9 19884752 Integrate Ruby 2.1.6

--- runtime/syntax/dtrace.vim	Thu Sep 13 09:27:02 2012
+++ runtime/syntax/dtrace.vim	Thu Sep 13 09:27:15 2012
@@ -40,8 +40,8 @@
 " XXX: This allows a probe description to end with ',', even if it's not
 " followed by another probe.
 " XXX: This doesn't work if followed by a comment.
-let s:oneProbe = '\%(BEGIN\|END\|ERROR\|\S\{-}:\S\{-}:\S\{-}:\S\{-}\)\_s*'
-exec 'syn match dtraceProbe "'.s:oneProbe.'\%(,\_s*'.s:oneProbe.'\)*\ze\_s\%({\|\/[^*]\|\%$\)"'
+let s:oneProbe = '\%(BEGIN\|END\|ERROR\|\S\{-}:\S\{-}:\S\{-}:\S*\)\_s*'
+exec 'syn match dtraceProbe "'.s:oneProbe.'\%(,\_s*'.s:oneProbe.'\)*\ze\_s*\%({\|\/[^*]\|\_s*\S\|\%$\)"'
 
 " Note: We have to be careful to not make this match /* */ comments.
 " Also be careful not to eat `c = a / b; b = a / 2;`. We use the same