mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
side-porting changes for supporting &/| pattern ops
This commit is contained in:
parent
9e2c70b90b
commit
04b7f8276c
4 changed files with 44 additions and 42 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue