No underscore!

This commit is contained in:
Erin 2022-04-16 22:06:37 +02:00 committed by ondra05
parent f1da9b2117
commit 5a18642cd6

View file

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