Improved division split
This commit is contained in:
parent
4ded8260b3
commit
8d629dda72
11 changed files with 84 additions and 64 deletions
|
@ -15,7 +15,7 @@ func Count(body AST, buffer []byte, kind token.Kind, name string) uint8 {
|
|||
count += node.Expression.Count(buffer, kind, name)
|
||||
|
||||
case *Define:
|
||||
count += node.Value.Count(buffer, kind, name)
|
||||
count += node.Expression.Count(buffer, kind, name)
|
||||
|
||||
case *Return:
|
||||
if node.Value != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue