From 2c36b2a5f7a81e854e2b0be01993c7957c4d063e Mon Sep 17 00:00:00 2001 From: Erin Date: Mon, 23 Aug 2021 18:58:28 +0200 Subject: [PATCH] Require space after `owo` for making comments. --- 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 b84c86b0..1ac49d66 100644 --- a/ablescript/src/lexer.rs +++ b/ablescript/src/lexer.rs @@ -146,7 +146,7 @@ pub enum Token { #[regex(r"[a-zA-Z_][a-zA-Z_0-9]*", get_iden)] Identifier(String), - #[regex(r"owo.*")] + #[regex(r"owo .*")] Comment, #[regex("nul")]