Add operators % and **

semantics for these are hard with floats handle later
This commit is contained in:
greg 2015-08-07 02:00:09 -07:00
parent 50c5dbe96d
commit c27c900e7f

View File

@ -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);