char literals

This commit is contained in:
2025-06-16 17:29:52 +02:00
parent 2b6f39135a
commit e15715f86d
5 changed files with 31 additions and 15 deletions

View File

@@ -427,6 +427,7 @@ impl Parser {
fn primary(&mut self) -> Result<Expr, ZernError> {
if self.match_token(&[
TokenType::Number,
TokenType::Char,
TokenType::String,
TokenType::True,
TokenType::False,