diff --git a/Source/Silverfly/Parser.cs b/Source/Silverfly/Parser.cs index 1206172..fc41aee 100644 --- a/Source/Silverfly/Parser.cs +++ b/Source/Silverfly/Parser.cs @@ -295,7 +295,7 @@ public Token Consume(Symbol expected) if (!CompareToken(token, expected)) { token.Document.Messages.Add( - Message.Error($"Expected token {expected} and found {token.Type}({token})", token.GetRange())); + Message.Error($"Expected token {expected} found {token.Type}({token})", token.GetRange())); return Token.Invalid('\0', token.Line, token.Column, Document); }