v0.3.0 #1

Merged
j merged 12 commits from v0.3.0 into main 2024-02-01 20:11:02 +00:00
Showing only changes of commit 5a77985b39 - Show all commits

View File

@ -124,7 +124,7 @@ impl<'t> Lexer<'t> {
'|' => self.then().emit(TokenKind::Bar), '|' => self.then().emit(TokenKind::Bar),
'}' => self.then().emit(TokenKind::CloseCurly), '}' => self.then().emit(TokenKind::CloseCurly),
c if c.is_numeric() => self.number::<DEFAULT_BASE>(), 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}"), c => todo!("Unrecognized character: {c}"),
} }
} }