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 93065e7dc9
commit b04bd77672

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)]