components/vim/patches/7197223.patch
author Gabriel Carrillo <gabriel.carrillo@Oracle.COM>
Thu, 25 Sep 2014 13:46:24 -0700
branchs11u2-sru-backport
changeset 3343 27f235d15683
parent 2352 1899f4fc74c6
child 7049 e8d705cba87d
permissions -rw-r--r--
Added tag 0.175.2.2.0.6.0, S11.2SRU2.6 for changeset 4af2ab639479

--- 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