<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/subexast.go
diff options
context:
space:
mode:
Diffstat (limited to 'subex/subexast.go')
-rw-r--r--subex/subexast.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/subex/subexast.go b/subex/subexast.go
index dd98aa9..92c099a 100644
--- a/subex/subexast.go
+++ b/subex/subexast.go
@@ -179,14 +179,14 @@ func (ast SubexASTCopyString) compileWith(next SubexState) SubexState {
}
stringContentState := &SubexGroupState {
&SubexCopyAtomState {
- atom: walk.StringTerminal{},
+ atom: walk.NewAtomStringTerminal(),
next: next,
},
stringAtomState,
}
stringAtomState.next = stringContentState
return &SubexCopyAtomState {
- atom: walk.StringTerminal{},
+ atom: walk.NewAtomStringTerminal(),
next: stringContentState,
}
}