13854Re: Crashing Vim 7.4a9 snapshot 68 with folding
- Jul 30, 2013Am 29.07.2013 um 22:15 schrieb Bram Moolenaar:
>It crashes on Mac OS 10.6.8 but not 10.8.4, this may be compiler or library related.
> Axel Kielhorn wrote:
>> As I have written earlier, the crash was introduced with
>> Vim 7.3.1185.
>> And here is the RegEx that causes the crash:
>> syn match pandocPCite /@\%[\w\-]*/
>> It is part of the citation handling code in ~/.vim/syntax/pandoc.vim
>> from vim-pandoc.
> It doesn't crash for me.
> What text does it crash on?[@pandoc]
in the second line.
> If you can makeIf I start vim with
> it happen with match() that would be ideal.
mvim -u NONE -U NONE vimkill3.md
and enter (copy) the search string
I get a crash.
without the * it's fine.
With incsearch on I get the crash as soon as I type the final *
>Sourcetree gives me
>> The change was adding
>> && *reginput != NUL
>> to regexp_nfa.c (line 3942)
> Do you have a context diff for this change?
/* "^" won't match past end-of-line, don't bother trying.
- * Except when we are going to the next line for a look-behind
- * match. */
+ * Except when at the end of the line, or when we are going to the
+ * next line for a look-behind match. */
if (reginput > regline
+ && *reginput != NUL
&& (nfa_endp == NULL
|| reglnum == nfa_endp->se_u.pos.lnum))
The enclosed file is even more reduced but shows the problem.
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>