parser: use different wording when the expected value was an operator vs an expression
This commit is contained in:
parent
ae76df9c83
commit
13995259aa
@ -192,11 +192,11 @@ pub mod error {
|
|||||||
Parsing::Expr => "an expression",
|
Parsing::Expr => "an expression",
|
||||||
Parsing::ExprKind => "an expression",
|
Parsing::ExprKind => "an expression",
|
||||||
Parsing::Assign => "an assignment",
|
Parsing::Assign => "an assignment",
|
||||||
Parsing::AssignKind => "an assignment",
|
Parsing::AssignKind => "an assignment operator",
|
||||||
Parsing::Binary => "a binary expression",
|
Parsing::Binary => "a binary expression",
|
||||||
Parsing::BinaryKind => "a binary expression",
|
Parsing::BinaryKind => "a binary operator",
|
||||||
Parsing::Unary => "a unary expression",
|
Parsing::Unary => "a unary expression",
|
||||||
Parsing::UnaryKind => "a unary expression",
|
Parsing::UnaryKind => "a unary operator",
|
||||||
Parsing::Index => "an indexing expression",
|
Parsing::Index => "an indexing expression",
|
||||||
Parsing::Call => "a call expression",
|
Parsing::Call => "a call expression",
|
||||||
Parsing::Member => "a member access expression",
|
Parsing::Member => "a member access expression",
|
||||||
|
Loading…
Reference in New Issue
Block a user