parent
ee4d1d908a
commit
b100704bc7
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ regex_rules! {
|
||||||
escape(r"true") => |_| Token::True,
|
escape(r"true") => |_| Token::True,
|
||||||
escape(r"false") => |_| Token::False,
|
escape(r"false") => |_| Token::False,
|
||||||
|
|
||||||
r"[ \n\n\f]+" => |_| Token::Skip,
|
r"\s+" => |_| Token::Skip,
|
||||||
r";.*"=> |_| Token::Comment,
|
r";.*"=> |_| Token::Comment,
|
||||||
|
|
||||||
r"[a-zA-Z_][a-zA-Z0-9_-]*" => |x| Token::Ident(x),
|
r"[a-zA-Z_][a-zA-Z0-9_-]*" => |x| Token::Ident(x),
|
||||||
|
|
Loading…
Add table
Reference in a new issue