diff options
| author | eunhhu <[email protected]> | 2026-10-08 14:24:44 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-08 14:24:44 +0100 |
| commit | bb02dbb078e5a1780d4e6864e3bd73886a3e260b (patch) | |
| tree | 3028bee40a50e473633c6be4d14aac488d934d77 /core | |
| parent | 66e3f7d2adbc752b1e7a6c052675868a564314d4 (diff) | |
| download | pure-bb02dbb078e5a1780d4e6864e3bd73886a3e260b.tar.gz pure-bb02dbb078e5a1780d4e6864e3bd73886a3e260b.zip | |
PURE_REUSE_KEPT a define: as an enum constant UINT32_MAX is past int, which clang -Wpedantic refuses
Diffstat (limited to 'core')
| -rw-r--r-- | core/module-run.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
