Dominique Pellé wrote:
Hi

Attached patch fixes a syntax highlighting problem in Vim-7.2.385
when opening the attached flex file "foo.l".

Notice how syntax hightlighting is wrong right after
"<def_mode>{ID}" in the first screenshot.

http://dominique.pelle.free.fr/pic/flex-syntax-highlighting-before.png
http://dominique.pelle.free.fr/pic/flex-syntax-highlighting-after.png
Unfortunately this patch destroys the capability to handle "start condition scopes".

<SCs>{
 list of rules (ith <SCs> prefixes automatically applied)
}

A SCs is a list of one or more start conditions. See http://dinosaur.compilertools.net/flex/manpage.html .

Regards,
Chip Campbell

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