Make end_func the only func ending block

This commit is contained in:
Stone_Red
2026-08-07 01:03:00 +02:00
parent 6bc5d01a2e
commit a5f9c5a178
6 changed files with 93 additions and 12 deletions
@@ -36,6 +36,11 @@ internal static class ExitMessages
return $"Function \"{function}\" not found";
}
internal static string FunctionWithoutEndFunc(string function)
{
return $"Function \"{function}\" has no matching \"end_func\"";
}
internal static string VariableNotFound(string variable)
{
return $"Variable \"{variable}\" not found";