fix: remove typo in error messages

Signed-off-by: erick-alcachofa <erick@artichoke.dev>

The error message string for unexpected tokens was prepended with an
erroneous 'O'. This commit removes the typo.
This commit is contained in:
erick-alcachofa 2025-10-11 11:28:40 -06:00
parent ffd66f1f86
commit 6809b7ea1d
Signed by: me
GPG Key ID: 6FA5F8643444BAFA

View File

@ -117,7 +117,7 @@ namespace arti::lang {
.line = tokenAt.line,
.column = tokenAt.column,
.message = std::format(
"OExpected token of type {}, got {}",
"Expected token of type {}, got {}",
toString(tokenType), toString(tokenAt)
)
}
@ -152,7 +152,7 @@ namespace arti::lang {
.line = token->line,
.column = token->column,
.message = std::format(
"OExpected token of type {}, got {}",
"Expected token of type {}, got {}",
toString(tokenType), toString(*token)
)
}