Errors - Missing space in message
This commit is contained in:
parent
bc4541a50e
commit
2aa9fb278a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl ParserError {
|
||||||
pos: if token.token_type == TokenType::Eof {
|
pos: if token.token_type == TokenType::Eof {
|
||||||
String::from(" at end of input")
|
String::from(" at end of input")
|
||||||
} else {
|
} else {
|
||||||
format!("at '{}'", token.lexeme)
|
format!(" at '{}'", token.lexeme)
|
||||||
},
|
},
|
||||||
message: String::from(message),
|
message: String::from(message),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue