Added missing node
This commit is contained in:
parent
b0c568e616
commit
34d865986a
@ -8,6 +8,9 @@ func Count(body AST, buffer []byte, kind token.Kind, name string) uint8 {
|
||||
|
||||
for _, node := range body {
|
||||
switch node := node.(type) {
|
||||
case *Assert:
|
||||
count += node.Condition.Count(buffer, kind, name)
|
||||
|
||||
case *Assign:
|
||||
count += node.Expression.Count(buffer, kind, name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user