From c3bc324519ab55e4b949ab01dabbfae130529d46 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Wed, 7 Aug 2024 20:17:59 +0200 Subject: [PATCH] Reset function in and out parameters stack --- YesNt.Interpreter/Runtime/RuntimeInformation.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YesNt.Interpreter/Runtime/RuntimeInformation.cs b/YesNt.Interpreter/Runtime/RuntimeInformation.cs index 0eb4676..719e010 100644 --- a/YesNt.Interpreter/Runtime/RuntimeInformation.cs +++ b/YesNt.Interpreter/Runtime/RuntimeInformation.cs @@ -153,6 +153,8 @@ internal sealed class RuntimeInformation Labels.Clear(); Functions.Clear(); FunctionCallStack.Clear(); + InParametersStack.Clear(); + OutParametersStack.Clear(); ParentRuntimeInformation = null; SearchLabel = string.Empty; SearchFunction = string.Empty;