On 15. 11. 14 19:52, Bram Moolenaar wrote: > > Matthias Braendli wrote: > >> 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. > > The version currently in Mercurial should not have this problem. > Also see https://code.google.com/p/vim/issues/detail?id=281
The file https://code.google.com/p/vim/source/browse/runtime/syntax/c.vim still shows the issue. Is this the latest version ? 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.