mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 11:46:43 +01:00
implement unsigned operators
This commit is contained in:
12
src/ast.rs
12
src/ast.rs
@@ -170,19 +170,25 @@ pub enum BinOp {
|
||||
Sub,
|
||||
Mul,
|
||||
Div,
|
||||
DivU,
|
||||
Rem,
|
||||
RemU,
|
||||
And,
|
||||
Or,
|
||||
Xor,
|
||||
Eq,
|
||||
Ne,
|
||||
Gt,
|
||||
GtU,
|
||||
Ge,
|
||||
GeU,
|
||||
Lt,
|
||||
LtU,
|
||||
Le,
|
||||
Lsl,
|
||||
Lsr,
|
||||
Asr,
|
||||
LeU,
|
||||
Shl,
|
||||
ShrU,
|
||||
ShrS,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user