Charles Campbell wrote the following on 14.07.2011 20:33

> Hello,
> 
> I'm probably doing something wrong, but I can't see what it is.  So:
> 
>   I extracted a couple of lines from regexp.c (143,144):  (vim 7.3.244)

here 7.2.445 with 'syntax/c.vim' from mercurial

> #define BRANCH        3    /* node Match this alternative, or the
>                   *    next... */
> 
> and put them in a file "junk.c".  Then
> 
>    vim -u NONE -N --noplugin junk.c
>    :syn on
> 
> shows the comment-ending pair of characters, */, in error highlighting.
> 
> FYI: I found this due to my looking at line 2045, (2044,2045)
> 
>                EMSG_M_RET_NULL(_("E71: Invalid character after %s%%"),
>                                reg_magic == MAGIC_ALL);
> 
> and I noticed a bunch of error highlighting of going on and so looked 
> for the first such example.
> 
> Are others seeing this?

sorry no. Comments are displayed just normal.
With cursor being on '/*' or '*/' i see with :HLT!
SynStack:  cDefine->cComment->cCommentStart

between it's 'SynStack:  cDefine->cComment' both sounds fine.

> Regards,
> Chip Campbell


HTH
-- 
bye Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


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

Raspunde prin e-mail lui