mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-10 07:56:08 +02:00
Make end_func the only func ending block
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user