Improved division split

This commit is contained in:
Eduard Urbach 2024-07-28 18:12:42 +02:00
parent 4ded8260b3
commit 8d629dda72
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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 {