mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-14 16:45:07 +01:00
do some registers
This commit is contained in:
parent
a363b7c6d1
commit
e28469fcc0
9 changed files with 227 additions and 97 deletions
|
|
@ -42,7 +42,9 @@ where
|
|||
let r_bp = prefix_binding_power(&Tok::Punct(punct)).ok_or_else(|| {
|
||||
Error::new(format!("expected expression, found {punct}"), span)
|
||||
})?;
|
||||
let Some(op) = unary_op_from_token(&Tok::Punct(punct)) else { panic!() };
|
||||
let Some(op) = unary_op_from_token(&Tok::Punct(punct)) else {
|
||||
panic!()
|
||||
};
|
||||
let rhs = self.expr_bp(r_bp)?;
|
||||
|
||||
self.next_t()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue