<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subex/subexstate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/subex/subexstate.go b/subex/subexstate.go
index cbcd210..f027f78 100644
--- a/subex/subexstate.go
+++ b/subex/subexstate.go
@@ -48,7 +48,7 @@ func (state SubexStoreState) eat(store Store, char walk.Atom) (nextStates []Sube
toStore: walk.ConcatData(state.toStore, matchState.output),
},
output: nil,
- store: store.clone(),
+ store: matchState.store,
})
}
return nextStates