work
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user