@@ -36,10 +36,10 @@ endif
36
36
if exists (" c_no_cformat" )
37
37
syn region cString start =+ L\= "+ skip =+ \\\\\|\\ "+ end =+ "+ contains =cSpecial,@Spell extend
38
38
" cCppString: same as cString, but ends at end of line
39
- if ! exists (" cpp_no_cpp0x " ) " ISO C99
40
- syn region cCppString start =+ \( L\| u\| u8\| U\| R\| LR\| u8R\| uR\| UR\)\= "+ skip =+ \\\\\|\\ "\|\\ $+ excludenl end =+ "+ end =' $' contains =cSpecial,cFormat,@Spell
39
+ if ! exists (" cpp_no_cpp11 " ) " ISO C++11
40
+ syn region cCppString start =+ \( L\| u\| u8\| U\| R\| LR\| u8R\| uR\| UR\)\= "+ skip =+ \\\\\|\\ "\|\\ $+ excludenl end =+ "+ end =' $' contains =cSpecial,cFormat,@Spell
41
41
else
42
- syn region cCppString start =+ L\= "+ skip =+ \\\\\|\\ "\|\\ $+ excludenl end =+ "+ end =' $' contains =cSpecial,cFormat,@Spell
42
+ syn region cCppString start =+ L\= "+ skip =+ \\\\\|\\ "\|\\ $+ excludenl end =+ "+ end =' $' contains =cSpecial,cFormat,@Spell
43
43
endif
44
44
else
45
45
if ! exists (" c_no_c99" ) " ISO C99
@@ -107,7 +107,7 @@ endif
107
107
" also accept <% for {, %> for }, <: for [ and :> for ] (C99)
108
108
" But avoid matching <::.
109
109
syn cluster cParenGroup contains =cParenError,cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom
110
- if exists (" c_no_curly_error" ) || exists (" cpp_no_cpp0x " )
110
+ if exists (" c_no_curly_error" ) || exists (" cpp_no_cpp11 " )
111
111
syn region cParen transparent start =' (' end =' )' end =' }' me =s - 1 contains =ALLBUT,cBlock,@cParenGroup,cCppParen,cCppString,@Spell
112
112
" cCppParen: same as cParen but ends at end-of-line; used in cDefine
113
113
syn region cCppParen transparent start =' (' skip =' \\ $' excludenl end =' )' end =' $' contained contains =ALLBUT,@cParenGroup,cParen,cString,@Spell
0 commit comments