Fixes string not checking if it ends with a quotation mark
This commit is contained in:
@@ -34,6 +34,11 @@ namespace Upsilon
|
||||
{
|
||||
LogError($"Invalid character found. Expected: '{expectedToken}'", location);
|
||||
}
|
||||
public void LogBadCharacter(TextSpan location, char expected, char actual)
|
||||
{
|
||||
LogError($"Invalid character found. Expected: '{expected}', Got: '{actual}'", location);
|
||||
}
|
||||
|
||||
public void LogBadCharacter(TextSpan location)
|
||||
{
|
||||
LogError($"Invalid character found.", location);
|
||||
|
||||
Reference in New Issue
Block a user