v0.3.0 #1
@ -124,7 +124,7 @@ impl<'t> Lexer<'t> {
|
||||
'|' => self.then().emit(TokenKind::Bar),
|
||||
'}' => self.then().emit(TokenKind::CloseCurly),
|
||||
c if c.is_numeric() => self.number::<DEFAULT_BASE>(),
|
||||
&c if is_xid_start(c) => self.then().identifier(),
|
||||
&c if is_xid_start(c) => self.identifier(),
|
||||
c => todo!("Unrecognized character: {c}"),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user