side-porting changes for supporting &/| pattern ops

This commit is contained in:
Vern Paxson 2018-06-22 15:12:22 -07:00
parent 9e2c70b90b
commit 04b7f8276c
4 changed files with 44 additions and 42 deletions

View file

@ -55,7 +55,10 @@ void NFA_State::AddXtionsTo(NFA_state_list* ns)
NFA_State* NFA_State::DeepCopy()
{
if ( mark )
{
Ref(mark);
return mark;
}
NFA_State* copy = ccl ? new NFA_State(ccl) : new NFA_State(sym, 0);
SetMark(copy);