From bb02dbb078e5a1780d4e6864e3bd73886a3e260b Mon Sep 17 00:00:00 2001 From: eunhhu Date: Thu, 8 Oct 2026 14:24:44 +0100 Subject: PURE_REUSE_KEPT a define: as an enum constant UINT32_MAX is past int, which clang -Wpedantic refuses --- core/module-run.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module-run.h b/core/module-run.h index eeca98a..9168c84 100644 --- a/core/module-run.h +++ b/core/module-run.h @@ -61,7 +61,7 @@ static inline bool number_op(uint8_t op, double a, double b, double *out) { * a HAS in a batch's block beginning if !L.has(k) { ... } whose code only adds to L (a filter: L only grows, so a batch asks * each round as it opens and again, in the rounds' order, at its end). */ enum { PLAN_TEXT = 1, PLAN_JOINED = 2, PLAN_ROW = 4, PLAN_BATCH = 8, PLAN_RECUR = 16, PLAN_GUARD = 32, PLAN_SPREAD = 64, PLAN_FILTER = 128 }; -enum { PURE_REUSE_KEPT = UINT32_MAX }; /* reuse_from at a root whose value later copies of its code take */ +#define PURE_REUSE_KEPT UINT32_MAX /* reuse_from at a root whose value later copies of its code take */ /* An item instruction's argument: its list and its field. */ static inline uint32_t list_of(uint32_t arg) { return arg & 0xFFFF; } -- cgit v1.2.3