aboutsummaryrefslogtreecommitdiff
path: root/src/compile/reductions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compile/reductions.c')
-rw-r--r--src/compile/reductions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/reductions.c b/src/compile/reductions.c
index 1652384c..438e072b 100644
--- a/src/compile/reductions.c
+++ b/src/compile/reductions.c
@@ -12,7 +12,7 @@ public
Text_t compile_reduction(env_t *env, ast_t *ast) {
DeclareMatch(reduction, ast, Reduction);
ast_e op = reduction->op;
- const char *op_str = binop_operator(op);
+ const char *op_str = binop_info[op].operator;
type_t *iter_t = get_type(env, reduction->iter);
type_t *item_t = get_iterated_type(iter_t);