diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2024-03-29 17:38:33 +0000 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2024-03-29 17:38:33 +0000 |
commit | ad0cde67e01a54a138acf760642d62aedbfece46 (patch) | |
tree | a0c680a93cb5042f89bb7552943fb210c4d6ae57 /subex/subexast.go | |
parent | 080a24e894f125d4f1741cfdcba7cb722304d209 (diff) | |
download | stred-go-ad0cde67e01a54a138acf760642d62aedbfece46.tar |
Add basic array manipulation
Diffstat (limited to 'subex/subexast.go')
-rw-r--r-- | subex/subexast.go | 8 |
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 { |