removed \ from idents

This commit is contained in:
Erin 2022-04-02 20:39:48 +02:00 committed by ondra05
parent 3bb8af5b3f
commit 6dec02c60c

View file

@ -120,7 +120,7 @@ pub enum Token {
Integer(isize), Integer(isize),
/// An identifier /// An identifier
#[regex(r"[\p{XID_Start}|\\|_][\p{XID_Continue}|\\]*", get_ident)] #[regex(r"[\p{XID_Start}|_][\p{XID_Continue}]*", get_ident)]
Identifier(String), Identifier(String),
#[regex(r"owo .*")] #[regex(r"owo .*")]