aboutsummaryrefslogtreecommitdiff
path: root/src/compile/reductions.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-06 14:34:38 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-06 14:34:38 -0400
commitcdb326a6e74e80bea9bffbeaaff1c5d1f4c9e733 (patch)
treeebb0cda65aae134746acd9dbe6e9b919284b9a4c /src/compile/reductions.c
parentaa15f0f78214cefa9fabace61c119e01812a3050 (diff)
Code cleanup
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);