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 -- A hamburger walks into a bar, and the bartender says: "I'm sorry, but we don't serve food here." /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
