add notes
This commit is contained in:
parent
35a42d7dba
commit
7f243c6a30
@ -193,7 +193,10 @@ func (p *choiceParser) parse(t Trace, c *context) {
|
|||||||
foundMatch = false
|
foundMatch = false
|
||||||
elementIndex = 0
|
elementIndex = 0
|
||||||
|
|
||||||
// TODO: avoid double parsing by setting first-from-store in the context
|
// 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 elements breaks the parsing
|
||||||
|
|
||||||
for elementIndex < len(p.elements) {
|
for elementIndex < len(p.elements) {
|
||||||
p.elements[elementIndex].parse(t, c)
|
p.elements[elementIndex].parse(t, c)
|
||||||
|
Loading…
Reference in New Issue
Block a user