Rename binop operators.

This commit is contained in:
Danila Fedorin 2019-06-11 17:53:22 -07:00
parent da515437e6
commit e579078f73

View File

@ -11,10 +11,10 @@ namespace lily {
static std::string op_supercombinator(binop op) { static std::string op_supercombinator(binop op) {
switch(op) { switch(op) {
case binop::add: return "+"; case binop::add: return "op_add";
case binop::subtract: return "-"; case binop::subtract: return "op_sub";
case binop::times: return "*"; case binop::times: return "op_times";
case binop::divide: return "/"; case binop::divide: return "op_divide";
} }
} }
}; };