vim-jp / vim-cpp

c or cpp syntax files
145 stars 44 forks source link

Fix C++11 raw string delimiter #19

Closed rburny closed 10 years ago

rburny commented 10 years ago

Fix C++11 raw string syntax group to exactly follow the standard. Previous version had problems in delimiter definition. I've tested that raw strings with delimiter would not get correctly highlighted in Vim 7.4.283, and would segfault Vim in 7.4.205. Also, too wide character set was allowed for delimiter (non-source characters, like `@$, and whitespaces should be disallowed).

mattn commented 10 years ago

The segfalut issue is solved at 7.4.253 maybe. However your changes make sense. LTGM. I'll look into it.

mattn commented 10 years ago

@osyo-manga , @rhysd Could you please review this?

mattn commented 10 years ago

OK, I'll merge. Thank you

mattn commented 10 years ago

Merged 948247437b3afcc727457070d9324922da7bd9c6

rhysd commented 10 years ago

Sorry for the delay to catch this issue. It looks good to me.

Thanks! :+1:

osyo-manga commented 10 years ago

I think it is good. :+1: