Seems defines as cCppString both

On Friday, November 14, 2014 12:34:48 AM UTC+9, Matthias P. Brändli wrote:
> Dear all,
> 
> I've recently had an issue with C highlighting. The following code
> snippet is posing problems:
> #define FOO0_TEST 1 // hello
> The part "#define FOO" is highlighted as cDefine. But "0_TEST 1 //
> hello" is cCppOut2.
> 
> #define FOO2_test FOO0_TEST
> also fails in the same way.
> 
> 
> Any other digit than 0 works correctly, e.g.
> #define FOO2_TEST 1 // hello
> "#define FOO2_TEST " is cDefine, "1" is cNumber, " " is cDefine, and the
> rest cCommentL.
> 
> I don't know the syntax files enough to give you a patch. I tried with
> the latest c.vim and cpp.vim from the hg repository. version 7.3.547
> does not show this issue.
> 
> Many thanks for the amazing editor Vim is,
> mpb

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