Moved sizeof functions to a separate package

This commit is contained in:
2024-07-29 12:33:28 +02:00
parent d5953649d9
commit 8d4eb9935d
13 changed files with 83 additions and 40 deletions

View File

@ -26,7 +26,7 @@ func (f *Function) TokenToRegister(t token.Token, register cpu.Register) error {
return nil
case token.Number, token.Rune:
number, _, err := f.Number(t)
number, err := f.Number(t)
if err != nil {
return err