add rickroll lexeme in lexer

This commit is contained in:
HTG-YT 2021-06-13 13:11:02 +08:00 committed by GitHub
parent 1a8f17339e
commit 3ffdd15b41

View file

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