Christian wrote:

> Hi Bram!
> 
> On Fr, 31 Okt 2014, Bram Moolenaar wrote:
> 
> > I finally had some time for a closer look.  One problem is that the
> > last_re_engine is a global.  When compiling pattern A and then pattern
> > B, then using pattern A the value of last_re_engine is from pattern B.
> > 
> > The value needs to be added to regprog_T.  Either with a new member or
> > using a value for regflags.
> 
> That does also apply to the re_flags, right?
> 
> So here is an updated patch, that does this, by storing the re_flags and 
> re_engine inside regprog_T.
> 
> Also available here:
> https://raw.githubusercontent.com/chrisbra/vim-mq-patches/master/nfa_recursive_stop

Thanks, I'll have another look (hopefully this week).

-- 
`When any government, or any church for that matter, undertakes to say to
 its subjects, "This you may not read, this you must not see, this you are
 forbidden to know," the end result is tyranny and oppression no matter how
 holy the motives' -- Robert A Heinlein, "If this goes on --"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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