removed \ from idents

pull/7/head
ondra05 2022-04-02 20:39:48 +02:00
parent ddb15ba540
commit f842733757
1 changed files with 1 additions and 1 deletions

View File

@ -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 .*")]