Implemented length storage of allocated memory

This commit is contained in:
Eduard Urbach 2025-02-09 14:14:41 +01:00
parent 79bb606e8d
commit 3043e4e2c4
Signed by: eduard
GPG key ID: 49226B848C78F6C8
27 changed files with 134 additions and 49 deletions

View file

@ -40,7 +40,7 @@ func (f *Function) CompileAssignArray(node *ast.Assign) error {
return err
}
memory.Offset = byte(offset)
memory.Offset = int8(offset)
} else {
_, indexRegister, isTemporary, err := f.Evaluate(index)