mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-09 07:56:06 +02:00
Centralize exit messages in ExitMessages class
This commit is contained in:
@@ -53,7 +53,7 @@ internal class StringLiteralStatements : StatementRuntimeInformation
|
||||
|
||||
if (!closed)
|
||||
{
|
||||
RuntimeInfo.Exit("Invalid string literal", true);
|
||||
RuntimeInfo.Exit(ExitMessages.InvalidStringLiteral, true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user