On 14 August 2013 05:03, Dominique Pellé <dominique.pe...@gmail.com> wrote: <snip>
> I could narrow it down further. I can reproduce it with: > > # Create a file (6 space and a x, bug does not happen with less than 6 > spaces): > $ echo " x" > foo > $ valgrind --log-file=valgrind.log vim -u NONE -N -c 'syn on' foo > > Then in Vim-7.4 (huge, Linux x86_64) search for: > /\%(\%(\.\@<!\.\)\@<!\|::\)\_s*\zs\%(MatchingData\|ARGF\|ARGV\|ENV\)\>\%(\s*(\)\@! > > and observe errors in valgrind.log. > Above regexp is actually used in syntax/ruby.rb: > > syn match rubyPredefinedConstant > "\%(\%(\.\@<!\.\)\@<!\|::\)\_s*\zs\%(MatchingData\|ARGF\|ARGV\|ENV\)\>\%(\s*(\)\@!" Bug aside that pattern has been 'simplified' recently so the OP may like to try out the latest ruby.vim syntax file (not included in 7.4). Regards, Doug -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.