diff options
Diffstat (limited to 'subex/subexstate.go')
-rw-r--r-- | subex/subexstate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subex/subexstate.go b/subex/subexstate.go index 5a38d0b..6318376 100644 --- a/subex/subexstate.go +++ b/subex/subexstate.go @@ -41,7 +41,7 @@ func (state SubexStoreState) eat(store Store, char walk.Atom) (nextStates []Sube nextMatchStates := state.match.eat(store.clone(), char) for _, matchState := range nextMatchStates { nextStates = append(nextStates, SubexBranch { - state: SubexStoreState { + state: &SubexStoreState { match: matchState.state, slot: state.slot, next: state.next, |