Add operators % and **
semantics for these are hard with floats handle later
This commit is contained in:
parent
50c5dbe96d
commit
c27c900e7f
@ -46,6 +46,8 @@ fn init_binop_table() {
|
||||
insert_precedence!("-", 20);
|
||||
insert_precedence!("*", 40);
|
||||
insert_precedence!("/", 40);
|
||||
insert_precedence!("%", 40);
|
||||
insert_precedence!("**", 50);
|
||||
insert_precedence!("==", 10);
|
||||
insert_precedence!(">", 15);
|
||||
insert_precedence!("<", 15);
|
||||
|
Loading…
Reference in New Issue
Block a user