From 11200cbff872c6d35d2c0bb510f487b01bc81036 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Tue, 4 Mar 2025 15:14:01 +0100 Subject: [PATCH] Don't throw exception when line that contains > contains no variable found --- YesNt.Interpreter/Statements/VariableStatements.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YesNt.Interpreter/Statements/VariableStatements.cs b/YesNt.Interpreter/Statements/VariableStatements.cs index dba0c93..21ea74c 100644 --- a/YesNt.Interpreter/Statements/VariableStatements.cs +++ b/YesNt.Interpreter/Statements/VariableStatements.cs @@ -93,7 +93,7 @@ internal partial class VariableStatements : StatementRuntimeInformation if (matches.Count <= 0) { - RuntimeInfo.Exit("Invalid syntax", true); + return; } for (int i = 0; i < matches.Count; i++)