refactor - remove stale TODOs

This commit is contained in:
Arpad Ryszka 2017-11-04 22:58:43 +01:00
parent 446022c546
commit b640b60ba9
2 changed files with 0 additions and 6 deletions

View File

@ -160,11 +160,6 @@ func (p *choiceParser) parse(c *context) {
foundMatch = false
optionIndex = 0
// TODO:
// - avoid double parsing by setting first-from-store in the context, prepare in advance to
// know whether it can be it's own item
// - it is also important to figure why disabling the failed options breaks the parsing
for optionIndex < len(p.options) {
p.options[optionIndex].parse(c)
optionIndex++

View File

@ -192,7 +192,6 @@ func (p *sequenceParser) parse(c *context) {
var parsed bool
for itemIndex < len(p.items) {
// TODO: test this f(g())
p.items[itemIndex].parse(c)
if !c.matchLast {
if currentCount < p.ranges[itemIndex][0] {