<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/main.go
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2024-03-30 09:42:00 +0000
committerCharlie Stanton <charlie@shtanton.xyz>2024-03-30 09:42:00 +0000
commit9d82785f46949151b783d83648b39ce9ba40c615 (patch)
tree8c766d9799ce331a6d129ad5c2e5e6d6e7b7d69e /subex/main.go
parentad0cde67e01a54a138acf760642d62aedbfece46 (diff)
downloadstred-go-9d82785f46949151b783d83648b39ce9ba40c615.tar
Add none structures and allow mismatched destructuring
Diffstat (limited to 'subex/main.go')
-rw-r--r--subex/main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/subex/main.go b/subex/main.go
index 86a8d41..f8d9093 100644
--- a/subex/main.go
+++ b/subex/main.go
@@ -276,7 +276,6 @@ func processInput(states []SubexEatBranch, input walk.Edible, nesting int) []Sub
newStates := make([]SubexEatBranch, 0, 2)
for _, state := range states {
- // TODO: What if nesting is changed by an epsilon state?
if state.aux.nesting == nesting {
newStates = addStates(newStates, state.eat(input))
} else if state.aux.nesting < nesting {