From 4d8ee1a0d777f2a2fe6221bf71b59442db94bebd Mon Sep 17 00:00:00 2001 From: Erin Date: Wed, 2 Mar 2022 11:36:08 +0100 Subject: [PATCH] fixed spelling of ain't --- ablescript/src/lexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ablescript/src/lexer.rs b/ablescript/src/lexer.rs index 1a4202ec..07c99dd6 100644 --- a/ablescript/src/lexer.rs +++ b/ablescript/src/lexer.rs @@ -59,7 +59,7 @@ pub enum Token { #[token("!=")] NotEqual, - #[regex("!|aint")] // also add aint as a not keyword + #[regex("!|ain't")] Not, // Keywords