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:
parent
ffd66f1f86
commit
6809b7ea1d
@ -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)
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user