From 78afee1472b3f923502c95e89171884496b2ffd1 Mon Sep 17 00:00:00 2001 From: Alex Bethel Date: Wed, 29 Dec 2021 17:06:46 -0600 Subject: [PATCH] Add martens owo --- ablescript/src/error.rs | 1 + 1 file changed, 1 insertion(+) 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),