add record, a struct that names itself

(record point ...) emits the struct and a typedef of the same name, so
point stands alone wherever (struct point) had to -- in a var, a
pointer, an arglist, a sizeof. struct, union and enum keep C's
meaning, for a type that came from a header or is laid out to match one.
This commit is contained in:
2026-10-03 22:28:48 +03:00
parent 2512d52dd1
commit 622db8eadc
5 changed files with 71 additions and 1 deletions

View File

@@ -109,6 +109,7 @@ SEX_TEST_PROGRAMS = c99 \
lambdas \
lists \
operators \
records \
serialize \
type-shapes \
unicode \