From 070f3b2f0ee1a5198ec278a6f6dd3fd91413867b 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