Initial chthulic error impl in Lexer

- See discussions #17
This commit is contained in:
Erin 2021-06-06 23:15:11 +02:00 committed by ondra05
parent b9d10fae03
commit d66874624b

View file

@ -107,6 +107,10 @@ pub enum Token {
#[token("hopback")] #[token("hopback")]
HopBack, HopBack,
/// Crash with random error (see discussion #17)
#[token("rlyeh")]
Rlyeh,
// Literals // Literals
/// True, False /// True, False
#[regex("true|false", get_bool)] #[regex("true|false", get_bool)]