fix storing included
This commit is contained in:
parent
3aa2d9a6b0
commit
c83887a876
@ -192,9 +192,9 @@ func (p *choiceParser) parse(t Trace, c *context) {
|
|||||||
|
|
||||||
c.store.setMatch(from, p.id, to)
|
c.store.setMatch(from, p.id, to)
|
||||||
for _, includedBy := range p.includedBy {
|
for _, includedBy := range p.includedBy {
|
||||||
if !c.excluded(from, includedBy) {
|
if c.excluded(from, includedBy) {
|
||||||
t.Out1("storing included", includedBy)
|
t.Out1("storing included", includedBy)
|
||||||
// c.store.setMatch(from, includedBy, to)
|
c.store.setMatch(from, includedBy, to)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -227,9 +227,9 @@ func (p *sequenceParser) parse(t Trace, c *context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, includedBy := range p.includedBy {
|
for _, includedBy := range p.includedBy {
|
||||||
if !c.excluded(from, includedBy) {
|
if c.excluded(from, includedBy) {
|
||||||
t.Out1("storing included", includedBy)
|
t.Out1("storing included", includedBy)
|
||||||
// c.store.setMatch(from, includedBy, to)
|
c.store.setMatch(from, includedBy, to)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user