parser: Note intent to switch to a Pratt parser
This commit is contained in:
parent
ca51a35f5c
commit
67bb3d4ae3
@ -897,6 +897,7 @@ impl<'t> Parser<'t> {
|
||||
};
|
||||
Ok(Assign { head, op, tail: self.expr_from(Self::exprkind_assign)?.into() }.into())
|
||||
}
|
||||
// TODO: use a pratt parser for binary expressions, to simplify this
|
||||
binary! {
|
||||
exprkind_compare {exprkind_range, compare_op}
|
||||
exprkind_range {exprkind_logic, range_op}
|
||||
|
Loading…
Reference in New Issue
Block a user