Hi

I notice an incorrect syntax highlighting of literal float values with
cpp syntax. Bug happens with vim-8.0.86 and older, but does not
happen with vim-7.4.1689 that comes with ubuntu-16.04.  So
somewhere in between, a regression was introduced.

Steps to reproduce:

$ cat >foo.cpp <<EOF
void foo()
{
  float f = 1.f;
  float g = 0.f;
}
EOF

$ vim -u NONE -c 'syntax on' foo.cpp

Compare screenshots between vim-8.0.86 (bad)
and vim-7.4.1689 (good):

http://dominique.pelle.free.fr/pic/bad-syntax-highlight-float-vim-8.0.86.png
http://dominique.pelle.free.fr/pic/good-syntax-highlight-float-vim-7.4.1689.png

Bug happens with cpp files, but not with c files.

I don't have time now to do a bisection to narrow
down when bug was introduced.

Regards
Dominique

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