Improved division split

This commit is contained in:
2024-07-28 18:12:42 +02:00
parent bb74c0cf50
commit c2c147f1b4
11 changed files with 84 additions and 64 deletions

View File

@ -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 {