<- Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/main/subexast.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/subexast.go')
-rw-r--r--main/subexast.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/subexast.go b/main/subexast.go
index 54cc5fe..510335f 100644
--- a/main/subexast.go
+++ b/main/subexast.go
@@ -19,12 +19,12 @@ func (ast SubexASTConcat) String() string {
}
type SubexASTStore struct {
- match RegexAST
+ match SubexAST
slot rune
}
func (ast SubexASTStore) compileWith(next SubexState) SubexState {
return SubexStoreState {
- match: ast.match.compileWith(RegexNoneState{}),
+ match: ast.match.compileWith(SubexNoneState{}),
slot: ast.slot,
next: next,
}