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)
#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?
Regards,
Chip Campbell
> 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
No problem for me with Vim 7.3.219 and an updated syntax/c.vim which
hasn't made it into the official runtimes yet.
> FYI: I found this due to my looking at line 2045, (2044,2045)
No problems around that area for me either.
So, if it's a bug, it's a new one!
Ben.
Regards,
Chip Campbell
Regards,
Chip Campbell