removed \ from idents
This commit is contained in:
parent
ec48508ba7
commit
45007e7d2b
|
@ -120,7 +120,7 @@ pub enum Token {
|
|||
Integer(isize),
|
||||
|
||||
/// An identifier
|
||||
#[regex(r"[\p{XID_Start}|\\|_][\p{XID_Continue}|\\]*", get_ident)]
|
||||
#[regex(r"[\p{XID_Start}|_][\p{XID_Continue}]*", get_ident)]
|
||||
Identifier(String),
|
||||
|
||||
#[regex(r"owo .*")]
|
||||
|
|
Loading…
Reference in a new issue