diff --git a/ablescript/src/error.rs b/ablescript/src/error.rs index bc0ea39d..78b0c3b3 100644 --- a/ablescript/src/error.rs +++ b/ablescript/src/error.rs @@ -48,6 +48,7 @@ impl Display for ErrorKind { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { ErrorKind::UnexpectedEof => write!(f, "unexpected end of file"), + ErrorKind::UnexpectedToken(Token::Melo) => write!(f, "unexpected marten"), ErrorKind::UnexpectedToken(token) => write!(f, "unexpected token {:?}", token), ErrorKind::UnknownVariable(name) => write!(f, "unknown identifier \"{}\"", name), ErrorKind::MeloVariable(name) => write!(f, "banned variable \"{}\"", name),