fix four conditional operands sexc emitted without parentheses, and mark every Sex workaround with a TODO

A conditional as an operand loses its parentheses (sex#59): box-blur
allocated a quarter of its buffer, deep water got the shallow colour,
and verify's delta histogram wrote out of bounds into the height
classes. Plan.org quoted the corrupted count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 21:01:59 +03:00
parent 39b0e74f2b
commit c14c154303
22 changed files with 156 additions and 5 deletions

View File

@@ -6,6 +6,7 @@
(pub include "cJSON.h")
(include stdio.h stdlib.h string.h ctype.h)
;; TODO sex#49: rename to ident-start? once ? is mangled in names.
(fn ident-start-char ((c char)) bool
(return (|| (isalpha (cast c u8)) (== c #\_) (== c #\$))))