Rename binop operators.
This commit is contained in:
parent
da515437e6
commit
e579078f73
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user