Skip to content

Commit

Permalink
refactor: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft committed Oct 19, 2024
1 parent 8be2fe2 commit 74f959a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Silverfly/Parser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 74f959a

Please sign in to comment.