.
This commit is contained in:
parent
fb563addf4
commit
4a2ba05bd1
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ use std::fmt;
|
|||
use logos::{Lexer, Logos};
|
||||
|
||||
#[derive(Logos, Debug, Clone, PartialEq)]
|
||||
#[logos(skip r"[ \t\r\n\f]+")] // Skips whitespace
|
||||
#[logos(skip r"[ \t\r\n\f]+")] // Skip whitespace
|
||||
pub enum Token<'src> {
|
||||
#[token("false", |_| false)]
|
||||
#[token("true", |_| true)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue