diff options
-rw-r--r-- | ll.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -277,6 +277,11 @@ static AST* parseCallExpr(const SExp& exp) case '+': return new ASTPrimitive(Instruction::Add, params); case '-': return new ASTPrimitive(Instruction::Sub, params); case '*': return new ASTPrimitive(Instruction::Mul, params); + case '/': return new ASTPrimitive(Instruction::FDiv, params); + case '%': return new ASTPrimitive(Instruction::FRem, params); + case '&': return new ASTPrimitive(Instruction::And, params); + case '|': return new ASTPrimitive(Instruction::Or, params); + case '^': return new ASTPrimitive(Instruction::Xor, params); } } |