diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 14:34:38 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 14:34:38 -0400 |
| commit | cdb326a6e74e80bea9bffbeaaff1c5d1f4c9e733 (patch) | |
| tree | ebb0cda65aae134746acd9dbe6e9b919284b9a4c /src/parse | |
| parent | aa15f0f78214cefa9fabace61c119e01812a3050 (diff) | |
Code cleanup
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/expressions.c b/src/parse/expressions.c index 32133fe9..df0a10a7 100644 --- a/src/parse/expressions.c +++ b/src/parse/expressions.c @@ -49,7 +49,7 @@ ast_t *parse_reduction(parse_ctx_t *ctx, const char *pos) { ast_e op = match_binary_operator(&pos); if (op == Unknown) return NULL; - const char *op_str = binop_operator(op); + const char *op_str = binop_info[op].operator; assert(op_str); ast_t *key = NewAST(ctx->file, pos, pos, Var, .name = op_str); for (bool progress = true; progress;) { |
