From 1d24082ee8006c79e98b17677f0e16684ccfea70 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 b84c86b..1ac49d6 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")]