Reorganized functions

This commit is contained in:
Eduard Urbach 2024-06-30 14:14:24 +02:00
parent ef7deb30b7
commit 3b29d4cdee
Signed by: eduard
GPG key ID: 49226B848C78F6C8
5 changed files with 99 additions and 86 deletions

View file

@ -6,6 +6,9 @@ import (
)
// CompileFunctionCall executes a function call.
// All call registers must hold the correct parameter values before the function invocation.
// Registers that are in use must be saved if they are modified by the function.
// After the function call, they must be restored in reverse order.
func (f *Function) CompileFunctionCall(expr *expression.Expression) error {
funcName := expr.Children[0].Token.Text()