From d66874624b2ac3166a63dd2a900536db931e0dc4 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 6 Jun 2021 23:15:11 +0200 Subject: [PATCH] Initial chthulic error impl in Lexer - See discussions #17 --- src/lexer.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lexer.rs b/src/lexer.rs index 99148d7..b04ff07 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -107,6 +107,10 @@ pub enum Token { #[token("hopback")] HopBack, + /// Crash with random error (see discussion #17) + #[token("rlyeh")] + Rlyeh, + // Literals /// True, False #[regex("true|false", get_bool)]