<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/subexast.go
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2024-03-29 17:38:33 +0000
committerCharlie Stanton <charlie@shtanton.xyz>2024-03-29 17:38:33 +0000
commitad0cde67e01a54a138acf760642d62aedbfece46 (patch)
treea0c680a93cb5042f89bb7552943fb210c4d6ae57 /subex/subexast.go
parent080a24e894f125d4f1741cfdcba7cb722304d209 (diff)
downloadstred-go-ad0cde67e01a54a138acf760642d62aedbfece46.tar
Add basic array manipulation
Diffstat (limited to 'subex/subexast.go')
-rw-r--r--subex/subexast.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/subex/subexast.go b/subex/subexast.go
index cc7313b..cef853b 100644
--- a/subex/subexast.go
+++ b/subex/subexast.go
@@ -472,10 +472,10 @@ func (ast SubexASTEnterArray) compileWith(next SubexState, slotMap *SlotMap, inT
panic("Invalid types for SubexASTEnterArray")
}
return &SubexCaptureBeginState {
- next: &SubexIncrementNestState {
- next: &SubexCopyState {
- filter: anyArrayFilter{},
- next: &SubexDiscardState {
+ next: &SubexCopyState {
+ filter: anyArrayFilter{},
+ next: &SubexDiscardState {
+ next: &SubexIncrementNestState {
next: &SubexCaptureBeginState {
next: ast.Content.compileWith(
&SubexDiscardTerminalState {