Hi list.

syntax/cpp.vim is updated. cpp raw string literals was broken.
And older code affect to  7.4.253 . I get some report that vim crashed with cpp 
syntax.

diff -r 32de51778c27 runtime/syntax/cpp.vim
--- a/runtime/syntax/cpp.vim    Tue May 13 20:23:24 2014 +0200
+++ b/runtime/syntax/cpp.vim    Wed May 14 10:39:47 2014 +0900
@@ -2,7 +2,7 @@
 " Language:    C++
 " Current Maintainer:  vim-jp (https://github.com/vim-jp/cpp-vim)
 " Previous Maintainer: Ken Shan <[email protected]>
-" Last Change: 2012 Jun 14
+" Last Change: 2014 May 13
 
 " For version 5.x: Clear all syntax items
 " For version 6.x: Quit when a syntax file was already loaded
@@ -39,6 +39,9 @@
   syn keyword cppExceptions    noexcept
   syn keyword cppStorageClass  constexpr decltype
   syn keyword cppConstant      nullptr
+  syn region cppRawString       matchgroup=cppRawDelimiter
+    \ 
start=+\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(+
+    \ end=+)\z1"+ contains=@Spell
 endif
 
 " The minimum and maximum operators in GNU C++
@@ -62,6 +65,8 @@
   HiLink cppStructure          Structure
   HiLink cppBoolean            Boolean
   HiLink cppConstant           Constant
+  HiLink cppRawDelimiter       Delimiter
+  HiLink cppRawString          String
   delcommand HiLink
 endif
 


https://gist.github.com/a9c3deac5f8e60bb0091

Thanks.
- Yasuhiro Matsumoto

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui