add rickroll lexeme in lexer

This commit is contained in:
HTG-YT 2021-06-13 13:11:02 +08:00 committed by GitHub
parent 976518a251
commit 855383faac

View file

@ -111,6 +111,9 @@ pub enum Token {
#[token("rlyeh")] #[token("rlyeh")]
Rlyeh, Rlyeh,
#[token("rickroll")]
Rickroll,
// Literals // Literals
/// True, False /// True, False
#[regex("true|false", get_bool)] #[regex("true|false", get_bool)]