This commit is contained in:
2026-04-11 03:50:43 -04:00
parent 29316e6353
commit 229b026573
16 changed files with 266 additions and 136 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ impl Parsable for Expr {
Token::Dash => Self::Negate(ctx.parse()?),
Token::Ident(s) => Self::Ident(ctx.ident(s)),
Token::Lit(l) => Self::Lit(ctx.lit(l)),
other => return ctx.unexpected(other, "an expression"),
other => return ctx.unexpected(&other, "an expression"),
};
let Some(next) = ctx.peek() else {
return Ok(e1);