diff options
Diffstat (limited to 'subex/subexast.go')
-rw-r--r-- | subex/subexast.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subex/subexast.go b/subex/subexast.go index cec75f7..e191a30 100644 --- a/subex/subexast.go +++ b/subex/subexast.go @@ -118,7 +118,7 @@ type SubexASTRepeat struct { func (ast SubexASTRepeat) compileWith(next SubexState) SubexState { var state SubexState = &SubexDeadState{} for _, convex := range ast.acceptable { - state = SubexGroupState {state, convex.compile(ast.content, next)} + state = &SubexGroupState {state, convex.compile(ast.content, next)} } return state } |